From 304dd1ea90c24e065fc60b19a23c81926bdc5fb3 Mon Sep 17 00:00:00 2001 From: evanweaver Date: Sat, 27 Oct 2007 00:58:48 +0000 Subject: let's say that a minor thread contention issue in the test suite is not a failure on jruby. on MRI i can determine the scheduling via sleep but jruby does what it wants. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@785 19e92222-5c0b-0410-8929-a290d50e31e9 --- lib/mongrel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mongrel.rb') diff --git a/lib/mongrel.rb b/lib/mongrel.rb index b55c095..a55d425 100644 --- a/lib/mongrel.rb +++ b/lib/mongrel.rb @@ -233,7 +233,7 @@ module Mongrel # that much longer. def graceful_shutdown while reap_dead_workers("shutdown") > 0 - STDERR.print "Waiting for #{@workers.list.length} requests to finish, could take #{@timeout + @throttle} seconds." + STDERR.puts "Waiting for #{@workers.list.length} requests to finish, could take #{@timeout + @throttle} seconds." sleep @timeout / 10 end end -- cgit v1.2.3-24-ge0c7