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 a02be31 commit fcb7e76Copy full SHA for fcb7e76
lib/solid_queue/supervisor.rb
@@ -35,9 +35,11 @@ def stop
35
attr_reader :configuration
36
37
def boot
38
- run_callbacks(:boot) do
39
- @stopped = false
40
- sync_std_streams
+ SolidQueue.instrument(:start_process, process: self) do
+ run_callbacks(:boot) do
+ @stopped = false
41
+ sync_std_streams
42
+ end
43
end
44
45
@@ -57,8 +59,10 @@ def start_process(configured_process)
57
59
58
60
61
def shutdown
- run_callbacks(:shutdown) do
- stop_maintenance_task
62
+ SolidQueue.instrument(:shutdown_process, process: self) do
63
+ run_callbacks(:shutdown) do
64
+ stop_maintenance_task
65
66
67
68
0 commit comments