lib/negroku/templates/tasks/eye/_delayed_job.erb in negroku-2.4.1 vs lib/negroku/templates/tasks/eye/_delayed_job.erb in negroku-2.4.2
- old
+ new
@@ -1,10 +1,10 @@
group 'delayed-jobs' do
chain grace: 10.seconds
- start_timeout 20.seconds
- stop_timeout 20.seconds
- restart_timeout 20.seconds
+ start_timeout <%= options[:start_timeout] || "30.seconds" %>
+ stop_timeout <%= options[:stop_timeout] || "40.seconds" %>
+ restart_timeout <%= options[:restart_timeout] || "30.seconds" %>
workers_count = '<%= fetch(:delayed_job_workers || 1) %>'.to_i
(0 ... workers_count.to_i).each do |i|