Kouhei Sutou
null+****@clear*****
Tue Oct 29 18:41:05 JST 2013
Kouhei Sutou 2013-10-29 18:41:05 +0900 (Tue, 29 Oct 2013) New Revision: 917d7a89e743bf1efbecd15fb1b9317b24588781 https://github.com/droonga/fluent-plugin-droonga/commit/917d7a89e743bf1efbecd15fb1b9317b24588781 Message: Use more concrete name part -> json Modified files: benchmark/watch/benchmark-notify.rb Modified: benchmark/watch/benchmark-notify.rb (+2 -2) =================================================================== --- benchmark/watch/benchmark-notify.rb 2013-10-29 18:40:02 +0900 (e59859a) +++ benchmark/watch/benchmark-notify.rb 2013-10-29 18:41:05 +0900 (cb68b11) @@ -48,8 +48,8 @@ class NotifyBenchmark def setup ddl_path = File.expand_path(File.join(__FILE__, "..", "..", "..", "ddl", "watchdb.jsons")) File.open(ddl_path, "r") do |file| - file.each_line do |part| - message = JSON.parse(part) + file.each_line do |json| + message = JSON.parse(json) @client.connection.send_receive(message) end end -------------- next part -------------- HTML����������������������������... Download