Kouhei Sutou
null+****@clear*****
Fri Jul 5 18:30:49 JST 2013
Kouhei Sutou 2013-07-05 18:30:49 +0900 (Fri, 05 Jul 2013) New Revision: a1e0f733eaa991502e3263378fb7e3aee4a68c94 https://github.com/groonga/groonga-query-log/commit/a1e0f733eaa991502e3263378fb7e3aee4a68c94 Message: Fix a bug that response logger gets dead lock Modified files: lib/groonga/query-log/replayer.rb Modified: lib/groonga/query-log/replayer.rb (+4 -1) =================================================================== --- lib/groonga/query-log/replayer.rb 2013-07-05 18:29:39 +0900 (c1fee00) +++ lib/groonga/query-log/replayer.rb 2013-07-05 18:30:49 +0900 (06a07c6) @@ -70,7 +70,10 @@ module Groonga @options.create_client do |client| loop do id, statistic =****@queue***** - break if id.nil? + if id.nil? + @responses.push(nil) + break + end replay_command(client, id, statistic.command) end end -------------- next part -------------- HTML����������������������������...Download