Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reset child death log when user restarts daemon
  • Loading branch information
guns committed Oct 4, 2010
1 parent 6b86241 commit 6e63dc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/delayed/daemon_tasks.rb
Expand Up @@ -111,6 +111,7 @@
# restart children on SIGHUP
trap :HUP do
logger.call 'SIGHUP received! Restarting workers.'
times_dead.clear if times_dead # reset death log on user restart
Process.kill :TERM, *children.keys
end

Expand Down

0 comments on commit 6e63dc8

Please sign in to comment.