Kouhei Sutou
null+****@clear*****
Wed Nov 27 22:43:27 JST 2013
Kouhei Sutou 2013-11-27 22:43:27 +0900 (Wed, 27 Nov 2013) New Revision: a948758524b1d9423dec7562dae3212529f574d6 https://github.com/droonga/fluent-plugin-droonga/commit/a948758524b1d9423dec7562dae3212529f574d6 Message: Remove an unused method Modified files: lib/droonga/handler.rb Modified: lib/droonga/handler.rb (+0 -17) =================================================================== --- lib/droonga/handler.rb 2013-11-27 22:32:55 +0900 (2073b3b) +++ lib/droonga/handler.rb 2013-11-27 22:43:27 +0900 (86ee98c) @@ -96,23 +96,6 @@ module Droonga @forwarder.forward(envelope, message, destination) end - def handle(command, body, synchronous=nil) - plugin = find_plugin(command) - if synchronous.nil? - synchronous = plugin.prefer_synchronous?(command) - end - if synchronous - $log.trace("#{log_tag}: post_or_push: process: start") - plugin.process(command, body, *arguments) - $log.trace("#{log_tag}: post_or_push: process: done") - else - envelope["body"] = body - envelope["type"] = command - envelope["arguments"] = arguments - @job_queue.push_message(envelope) - end - end - private def parse_envelope(envelope) @envelope = envelope -------------- next part -------------- HTML����������������������������...Download