diff options
author | Eric Wong <e@80x24.org> | 2017-01-12 22:26:13 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-01-12 22:26:13 +0000 |
commit | d0835f032cf6cab961b4fe1584ea066348e15390 (patch) | |
tree | c1e1f450a88f7b1bcb0f4741c35b59690563612d /lib | |
parent | f385ed423e11ad40822f688bc592eaa78efa5b34 (diff) | |
download | rainbows-d0835f032cf6cab961b4fe1584ea066348e15390.tar.gz |
Honestly, these disclaimers should've been there all along; and should apply to all servers handling multiple clients within a single process.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rainbows/configurator.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/rainbows/configurator.rb b/lib/rainbows/configurator.rb index 10cb60d..d82002e 100644 --- a/lib/rainbows/configurator.rb +++ b/lib/rainbows/configurator.rb @@ -6,6 +6,11 @@ # block, otherwise Unicorn::Configurator directives may be used anywhere # in the file. # +# Warning: The "timeout" directive in unicorn is far more dangerous +# in Rainbows!, since ALL requests running on a process will be lost +# on worker death, not just one. Instead, handle application-level +# timeouts yourself: https://bogomips.org/unicorn/Application_Timeouts.html +# # Rainbows! do # use :ThreadSpawn # concurrency model to use # worker_connections 400 |