Skip to content

Commit 41d0dd8

Browse files
committed
nocov for signal traps
1 parent 9d13b50 commit 41d0dd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/hooks/core/signal_handler.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def request_shutdown
3333

3434
# Setup signal traps for graceful shutdown
3535
# NOTE: Disabled for now to let Puma handle signals properly
36+
# :nocov:
3637
def setup_signal_traps
3738
%w[SIGINT SIGTERM].each do |signal|
3839
Signal.trap(signal) do
@@ -48,6 +49,7 @@ def setup_signal_traps
4849
end
4950
end
5051
end
52+
# :nocov:
5153
end
5254
end
5355
end

0 commit comments

Comments
 (0)