lib/eco/api/session/config.rb in eco-helpers-2.0.49 vs lib/eco/api/session/config.rb in eco-helpers-2.0.50
- old
+ new
@@ -361,9 +361,21 @@
@workflow = self["workflow"] ||= Eco::API::Session::Config::Workflow.new(config: self)
@workflow.tap do |wf|
yield(wf) if block_given?
end
end
+
+ # @return [nil, Interger] seconds between jobs
+ def delay_between_jobs(seconds = nil)
+ self["delay_between_jobs"] = seconds if seconds
+ self["delay_between_jobs"]
+ end
+
+ # @return [nil, Interger] seconds between job groups
+ def delay_between_job_groups(seconds = nil)
+ self["delay_between_job_groups"] = seconds if seconds
+ self["delay_between_job_groups"]
+ end
# @!endgroup
end
end
end