We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d6ad7b commit e90b10fCopy full SHA for e90b10f
lib/solid_queue/processes/registrable.rb
@@ -32,7 +32,10 @@ def registered?
32
end
33
34
def launch_heartbeat
35
- @heartbeat_task = Concurrent::TimerTask.new(execution_interval: SolidQueue.process_heartbeat_interval) { heartbeat }
+ @heartbeat_task = Concurrent::TimerTask.new(execution_interval: SolidQueue.process_heartbeat_interval) do
36
+ wrap_in_app_executor { heartbeat }
37
+ end
38
+
39
@heartbeat_task.execute
40
41
0 commit comments