[Groonga-commit] droonga/http-benchmark at f1c74b0 [master] Don't create too many clients

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 7 19:17:02 JST 2013


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

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

  Message:
    Don't create too many clients

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

  Modified: lib/droonga/http-benchmark/runner.rb (+1 -1)
===================================================================
--- lib/droonga/http-benchmark/runner.rb    2013-10-07 19:15:43 +0900 (47b87d9)
+++ lib/droonga/http-benchmark/runner.rb    2013-10-07 19:17:02 +0900 (52afa1d)
@@ -55,7 +55,7 @@ module Droonga
         requests_queue = Queue.new
         results_queue = Queue.new
 
-        @client_threads = 0.upto(@n_clients).collect do |index|
+        @client_threads = 0.upto(@n_clients - 1).collect do |index|
           Thread.new do
             loop do
               request = requests_queue.pop
-------------- next part --------------
HTML����������������������������...
Download 



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