diff options
author | Eric Wong <e@80x24.org> | 2017-01-09 18:59:00 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-01-09 18:59:00 +0000 |
commit | f385ed423e11ad40822f688bc592eaa78efa5b34 (patch) | |
tree | 1cc73c8b3c1ebba45c2ed23d27c32467e778fe4b /SIGNALS | |
parent | 28194bd423ee559a2693459fcceb24ea1200863b (diff) | |
download | rainbows-f385ed423e11ad40822f688bc592eaa78efa5b34.tar.gz |
Since EventMachine 1.0.0 in 2012, the EM.defers_finish? API exists to check for the existence of deferred actions. Support it if it exists in the running version of EM and update the note in our SIGNALS document. Thanks to <alex0375@gmail.com> on the mailing list for bringing this up: https://bogomips.org/rainbows-public/CAKwvcL-VH3we4qA1pkNAstTmWvqNA=Rir2N_YiWztV_qbaLQvA@mail.gmail.com/
Diffstat (limited to 'SIGNALS')
-rw-r--r-- | SIGNALS | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,9 +24,9 @@ between \Rainbows!, unicorn and nginx. * INT/TERM - quick shutdown, kills all workers immediately * QUIT - graceful shutdown, waits for workers to finish their - current request before finishing. This currently does not - wait for requests deferred to a separate thread when using - EventMachine (when app.deferred?(env) => true) + current request before finishing. Since Rainbows 5.1.0 (Jan 2017), + this waits requests deferred to a separate thread with + EventMachine (app.deferred?(env) => true). * USR1 - reopen all logs owned by the master and all workers See Unicorn::Util.reopen_logs for what is considered a log. |