Skip to content

Commit 564a8b2

Browse files
wuputahhone
authored andcommitted
correct log messages for new behavior
1 parent 320e726 commit 564a8b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/resque/worker.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,11 @@ def kill_child
314314
log! "Sending KILL signal to child #{@child}"
315315
Process.kill("KILL", @child)
316316
else
317-
log! "Child #{@child} not found, restarting."
318-
shutdown
317+
log! "Child #{@child} already quit."
319318
end
320319
end
321320
rescue SystemCallError
322-
log! "Child #{@child} already quit."
321+
log! "Child #{@child} already quit and reaped."
323322
end
324323

325324
# are we paused?

0 commit comments

Comments
 (0)