Skip to content

Commit b130e77

Browse files
authored
Revert "Wrap Supervisor#start and stop with the app executor"
This reverts commit 5aa05ae.
1 parent 6eb29d9 commit b130e77

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

lib/solid_queue/supervisor.rb

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,18 @@ def initialize(configuration)
2929
end
3030

3131
def start
32-
wrap_in_app_executor do
33-
boot
34-
run_start_hooks
32+
boot
33+
run_start_hooks
3534

36-
start_processes
37-
launch_maintenance_task
35+
start_processes
36+
launch_maintenance_task
3837

39-
supervise
40-
end
38+
supervise
4139
end
4240

4341
def stop
44-
wrap_in_app_executor do
45-
super
46-
run_stop_hooks
47-
end
42+
super
43+
run_stop_hooks
4844
end
4945

5046
private

0 commit comments

Comments
 (0)