Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions lib/solid_queue/supervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,22 @@ def initialize(configuration)
end

def start
boot
run_start_hooks
wrap_in_app_executor do
boot
run_start_hooks

start_processes
launch_maintenance_task
start_processes
launch_maintenance_task

supervise
supervise
end
end

def stop
super
run_stop_hooks
wrap_in_app_executor do
super
run_stop_hooks
end
end

private
Expand Down
Loading