[Groonga-commit] droonga/fluent-plugin-droonga at 9c5d689 [master] Call forward directly

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Wed Dec 18 00:13:56 JST 2013


Kouhei Sutou	2013-12-18 00:13:56 +0900 (Wed, 18 Dec 2013)

  New Revision: 9c5d68963f3aa4543e9cf1a2a16f9a0b0d22d286
  https://github.com/droonga/fluent-plugin-droonga/commit/9c5d68963f3aa4543e9cf1a2a16f9a0b0d22d286

  Message:
    Call forward directly

  Modified files:
    lib/droonga/dispatcher.rb

  Modified: lib/droonga/dispatcher.rb (+3 -1)
===================================================================
--- lib/droonga/dispatcher.rb    2013-12-17 23:57:01 +0900 (624eaf0)
+++ lib/droonga/dispatcher.rb    2013-12-18 00:13:56 +0900 (b3095c4)
@@ -140,7 +140,9 @@ module Droonga
       if local?(destination)
         handle_internal_message(message)
       else
-        post(message, "to"=>farm_path(destination), "type"=>"dispatcher")
+        @forwarder.forward(envelope, message,
+                           "type" => "dispatcher",
+                           "to"   => farm_path(destination))
       end
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index