Kouhei Sutou
null+****@clear*****
Fri May 24 18:25:48 JST 2013
Kouhei Sutou 2013-05-24 18:25:48 +0900 (Fri, 24 May 2013) New Revision: 665abb25d2d05fea428e6fea1b397b203531dea5 https://github.com/groonga/groonga-query-log/commit/665abb25d2d05fea428e6fea1b397b203531dea5 Message: Use block Modified files: lib/groonga/query-log/replayer.rb Modified: lib/groonga/query-log/replayer.rb (+2 -2) =================================================================== --- lib/groonga/query-log/replayer.rb 2013-05-24 18:21:04 +0900 (d20a834) +++ lib/groonga/query-log/replayer.rb 2013-05-24 18:25:48 +0900 (7787c97) @@ -59,14 +59,14 @@ module Groonga def run_consumers @options.n_clients.times.collect do - client =****@optio*****_client Thread.new do + @options.create_client do loop do id, statistic =****@queue***** break if id.nil? replay_command(client, id, statistic.command) end - client.shutdown + end end end end -------------- next part -------------- HTML����������������������������...Download