summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/webrick/server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/server.rb b/lib/webrick/server.rb
index fad5346..5e83b69 100644
--- a/lib/webrick/server.rb
+++ b/lib/webrick/server.rb
@@ -167,7 +167,7 @@ module WEBrick
while @status == :Running
begin
sp = shutdown_pipe[0]
- if svrs = IO.select([sp, *@listeners], nil, nil, 2.0)
+ if svrs = IO.select([sp, *@listeners])
if svrs[0].include? sp
# swallow shutdown pipe
buf = String.new