diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-10-27 16:26:28 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-10-27 16:26:28 -0700 |
commit | 4d493d8ad203d7f13ac56b7d6ba2b3aaa481cbd2 (patch) | |
tree | dfc912b66d7477ed45a931806faec5a5e6172e51 | |
parent | 054c7df93db61839648925cfd881ae880709a210 (diff) | |
download | unicorn-4d493d8ad203d7f13ac56b7d6ba2b3aaa481cbd2.tar.gz |
Sending the same signal faster than the receiver can process means signals can get lost.
-rw-r--r-- | examples/unicorn.conf.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/unicorn.conf.rb b/examples/unicorn.conf.rb index 37c3e81..28a9e65 100644 --- a/examples/unicorn.conf.rb +++ b/examples/unicorn.conf.rb @@ -63,7 +63,10 @@ before_fork do |server, worker| # end # end # - # # *optionally* throttle the master from forking too quickly by sleeping + # Throttle the master from forking too quickly by sleeping. Due + # to the implementation of standard Unix signal handlers, this + # helps (but does not completely) prevent identical, repeated signals + # from being lost when the receiving process is busy. # sleep 1 end |