Skip to content

Commit d9d6b54

Browse files
nashbyrosa
authored andcommitted
Make sure we wrap runnable code in app's executor.
closes #75
1 parent 8bbc757 commit d9d6b54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/solid_queue/processes/runnable.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ def do_start_loop
4444
loop do
4545
break if shutting_down?
4646

47-
run
47+
wrap_in_app_executor do
48+
run
49+
end
4850
end
4951
ensure
5052
run_callbacks(:shutdown) { shutdown }

0 commit comments

Comments
 (0)