[Groonga-commit] droonga/http-benchmark at 9e67614 [master] Wait until new request is added to the queue

Back to archive index

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


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

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

  Message:
    Wait until new request is added to the queue

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

  Modified: lib/droonga/http-benchmark/runner.rb (+0 -1)
===================================================================
--- lib/droonga/http-benchmark/runner.rb    2013-10-07 18:51:50 +0900 (fe44cb5)
+++ lib/droonga/http-benchmark/runner.rb    2013-10-07 19:15:07 +0900 (af53a41)
@@ -58,7 +58,6 @@ module Droonga
         @client_threads = 0.upto(@n_clients).collect do |index|
           Thread.new do
             loop do
-              next if requests_queue.empty?
               request = requests_queue.pop
               Net::HTTP.start(request[:host], request[:port]) do |http|
                 header = {
-------------- next part --------------
HTML����������������������������...
Download 



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