Kouhei Sutou
null+****@clear*****
Wed Sep 18 09:43:57 JST 2013
Kouhei Sutou 2013-09-18 09:43:57 +0900 (Wed, 18 Sep 2013) New Revision: 556ff4ae5cf502fbee2e843dc767323df11687d3 https://github.com/groonga/groonga-query-log/commit/556ff4ae5cf502fbee2e843dc767323df11687d3 Message: replayer: indent Modified files: lib/groonga/query-log/replayer.rb Modified: lib/groonga/query-log/replayer.rb (+9 -9) =================================================================== --- lib/groonga/query-log/replayer.rb 2013-09-18 09:43:44 +0900 (31be8b7) +++ lib/groonga/query-log/replayer.rb 2013-09-18 09:43:57 +0900 (cae421b) @@ -68,16 +68,16 @@ module Groonga end def run_consumer - @options.create_client do |client| - loop do - id, statistic =****@queue***** - if id.nil? - @responses.push(nil) - break - end - replay_command(client, id, statistic.command) - end + @options.create_client do |client| + loop do + id, statistic =****@queue***** + if id.nil? + @responses.push(nil) + break end + replay_command(client, id, statistic.command) + end + end end def replay_command(client, id, command) -------------- next part -------------- HTML����������������������������...Download