about summary refs log tree commit homepage
path: root/lib/yahns/server.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-11-07 08:40:22 +0000
committerEric Wong <e@80x24.org>2013-11-07 08:43:44 +0000
commit07e5a1d7e8624e57d640af1d641c7ca51a948ecd (patch)
tree3ce37fe9a11da1b5fe87779364c6b9facfb7a001 /lib/yahns/server.rb
parenta79a6d8775171ad5cceda9bb3a77946ba60e26ce (diff)
downloadyahns-07e5a1d7e8624e57d640af1d641c7ca51a948ecd.tar.gz
The first argument of the old __expire_for method was completely
unused in all but one invocation of it, so it is not worth it.  This
also simplifies the code a bit too.
Diffstat (limited to 'lib/yahns/server.rb')
-rw-r--r--lib/yahns/server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/server.rb b/lib/yahns/server.rb
index e2d03e2..f956d50 100644
--- a/lib/yahns/server.rb
+++ b/lib/yahns/server.rb
@@ -459,7 +459,7 @@ class Yahns::Server # :nodoc:
   def dropping(fdmap)
     if drop_acceptors[0] || fdmap.size > 0
       timeout = @shutdown_expire < Time.now ? -1 : @shutdown_timeout
-      fdmap.desperate_expire_for(nil, timeout)
+      fdmap.desperate_expire(timeout)
       true
     else
       false