Skip to content
Browse files

made the server runnable again

  • Loading branch information...
1 parent c0be4d3 commit 241bbcc447ad8a2b67e744222cef88f8a88dde1a @Zapotek committed Apr 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 benchmarks/server.rb
View
6 benchmarks/server.rb
@@ -32,17 +32,17 @@ def self.run
def with_server(&block)
pid = Process.fork do
- # Benchmark::Server.run
+ Benchmark::Server.run
end
loop do
sleep(1)
begin
- # Excon.get('http://localhost:9292/api/foo')
+ #Excon.get('http://localhost:9292/api/foo')
break
rescue
end
end
yield
ensure
Process.kill(9, pid)
-end
+end

0 comments on commit 241bbcc

Please sign in to comment.
Something went wrong with that request. Please try again.