Skip to content

Commit 054a891

Browse files
committed
Restore interval for process prune task to SolidQueue.process_alive_threshold
I had moved it to 2 seconds to debug and committed that by mistake ^_^U
1 parent e90b10f commit 054a891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/solid_queue/supervisor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def start_forks
6666
end
6767

6868
def launch_process_prune
69-
@prune_task = Concurrent::TimerTask.new(run_now: true, execution_interval: 2.seconds) { prune_dead_processes }
69+
@prune_task = Concurrent::TimerTask.new(run_now: true, execution_interval: SolidQueue.process_alive_threshold) { prune_dead_processes }
7070
@prune_task.execute
7171
end
7272

0 commit comments

Comments
 (0)