Kouhei Sutou
null+****@clear*****
Wed Jan 30 17:16:21 JST 2013
Kouhei Sutou 2013-01-30 17:16:21 +0900 (Wed, 30 Jan 2013) New Revision: e546d84d55d52f3b7897767f0b349e840cd461d3 https://github.com/groonga/fluent-plugin-kotoumi/commit/e546d84d55d52f3b7897767f0b349e840cd461d3 Log: Don't pass needless information to worker Modified files: lib/fluent/plugin/out_kotoumi.rb lib/kotoumi/worker.rb Modified: lib/fluent/plugin/out_kotoumi.rb (+1 -1) =================================================================== --- lib/fluent/plugin/out_kotoumi.rb 2013-01-30 17:16:05 +0900 (663ef27) +++ lib/fluent/plugin/out_kotoumi.rb 2013-01-30 17:16:21 +0900 (0b10e59) @@ -54,7 +54,7 @@ module Fluent end def exec(tag, time, record) - result =****@worke*****_message(tag, time, record) + result =****@worke*****_message(record) if record["replyTo"] post(record["replyTo"], tag, { inReplyTo: record["id"], Modified: lib/kotoumi/worker.rb (+1 -1) =================================================================== --- lib/kotoumi/worker.rb 2013-01-30 17:16:05 +0900 (f54274e) +++ lib/kotoumi/worker.rb 2013-01-30 17:16:21 +0900 (aa3247c) @@ -25,7 +25,7 @@ module Kotoumi @queuename = queuename end - def process_message(tag, time, record) + def process_message(record) return { "main-search-result" => { startTime: "2001-08-02T10:45:23.5+09:00", -------------- next part -------------- HTML����������������������������... ダウンロード