Enforce minimum timeout at 3 seconds
commit32affaf3d70983b86ec006ece27f3f34c98bedcc
authorEric Wong <normalperson@yhbt.net>
Mon, 11 May 2009 02:02:05 +0000 (10 19:02 -0700)
committerEric Wong <normalperson@yhbt.net>
Mon, 11 May 2009 04:44:25 +0000 (10 21:44 -0700)
treeead49e45ead8505461bedaa6f6153e2bca82a2d6
parent1dc79837c336ad8cb4762746acc6a489b8932c81
Enforce minimum timeout at 3 seconds

2 seconds is still prone to race conditions under high load.
We're intentionally less accurate than we could be in order to
reduce syscall and method dispatch overhead.
lib/unicorn/configurator.rb
test/unit/test_signals.rb