[Groonga-commit] droonga/http-benchmark at e0cc88b [master] Access to the wait for each request directly

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 7 19:15:43 JST 2013


YUKI Hiroshi	2013-10-07 19:15:43 +0900 (Mon, 07 Oct 2013)

  New Revision: e0cc88b748aced1bb2e0f228b23796ccf7926024
  https://github.com/droonga/http-benchmark/commit/e0cc88b748aced1bb2e0f228b23796ccf7926024

  Message:
    Access to the wait for each request directly

  Modified files:
    lib/droonga/http-benchmark/runner.rb

  Modified: lib/droonga/http-benchmark/runner.rb (+1 -2)
===================================================================
--- lib/droonga/http-benchmark/runner.rb    2013-10-07 19:15:07 +0900 (af53a41)
+++ lib/droonga/http-benchmark/runner.rb    2013-10-07 19:15:43 +0900 (47b87d9)
@@ -79,7 +79,7 @@ module Droonga
                                    :status => response.code,
                                    :elapsed_time => Time.now - start_time)
               end
-              sleep request[:wait]
+              sleep @wait
             end
           end
         end
@@ -183,7 +183,6 @@ module Droonga
           request[:path] ||= @default_path
           request[:method] ||= @default_method
           request[:method] = request[:method].upcase
-          request[:wait] ||= @wait
           @requests << request
         end
       end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index