Skip to content

Commit

Permalink
v0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kzk committed Mar 8, 2013
1 parent 8c45ce6 commit 8abb582
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Release 0.3.5 - 2013/03/08
* configurable max QUIT, TERM, and sleep interval
* fix warning message of signal handling

Release 0.3.4 - 2013/03/08
* try SIGQUIT first, rather than SIGTERM

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.4
0.3.5
3 changes: 2 additions & 1 deletion lib/unicorn/worker_killer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

module Unicorn::WorkerKiller
# Self-destruction by sending the signals to myself. The process sometimes
# doesn't terminate by SIGTERM, so this tries to send SIGQUIT and SIGKILL
# doesn't terminate by SIGQUIT, so this tries to send SIGTERM and SIGKILL
# if it doesn't finish immediately.
# @see http://unicorn.bogomips.org/SIGNALS.html
def self.kill_self(logger, start_time)
alive_sec = (Time.now - start_time).to_i

Expand Down

0 comments on commit 8abb582

Please sign in to comment.