From b130e77216ea1167a58c422b399411037e1a9440 Mon Sep 17 00:00:00 2001 From: Rosa Gutierrez Date: Tue, 28 Oct 2025 19:23:03 +0100 Subject: [PATCH] Revert "Wrap Supervisor#start and stop with the app executor" This reverts commit 5aa05ae0830900b30509e0eb3aeec298de921650. --- lib/solid_queue/supervisor.rb | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/lib/solid_queue/supervisor.rb b/lib/solid_queue/supervisor.rb index 05deaa52..7d010593 100644 --- a/lib/solid_queue/supervisor.rb +++ b/lib/solid_queue/supervisor.rb @@ -29,22 +29,18 @@ def initialize(configuration) end def start - wrap_in_app_executor do - boot - run_start_hooks + boot + run_start_hooks - start_processes - launch_maintenance_task + start_processes + launch_maintenance_task - supervise - end + supervise end def stop - wrap_in_app_executor do - super - run_stop_hooks - end + super + run_stop_hooks end private