diff options
-rw-r--r-- | lib/yahns/server.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/yahns/server.rb b/lib/yahns/server.rb index 583fd38..128b894 100644 --- a/lib/yahns/server.rb +++ b/lib/yahns/server.rb @@ -500,6 +500,8 @@ class Yahns::Server # :nodoc: if drop_acceptors[0] || fdmap.size > 0 timeout = @shutdown_expire < Yahns.now ? -1 : @shutdown_timeout n = fdmap.desperate_expire(timeout) + return false if timeout == -1 + $0 = "yahns quitting, #{n} FD(s) remain" true else |