[Groonga-commit] droonga/fluent-plugin-droonga at 91e67ea [master] Revert add_route removing

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Nov 25 13:36:56 JST 2013


Kouhei Sutou	2013-11-25 13:36:56 +0900 (Mon, 25 Nov 2013)

  New Revision: 91e67ea9080819fa15938475789fda0e246ec9c7
  https://github.com/droonga/fluent-plugin-droonga/commit/91e67ea9080819fa15938475789fda0e246ec9c7

  Message:
    Revert add_route removing
    
    There are more works to remove it.

  Modified files:
    lib/droonga/dispatcher.rb

  Modified: lib/droonga/dispatcher.rb (+4 -0)
===================================================================
--- lib/droonga/dispatcher.rb    2013-11-25 13:34:05 +0900 (0e7280e)
+++ lib/droonga/dispatcher.rb    2013-11-25 13:36:56 +0900 (c5bbb3a)
@@ -51,6 +51,10 @@ module Droonga
       @farm.shutdown
     end
 
+    def add_route(route)
+      envelope["via"].push(route)
+    end
+
     def handle_envelope(envelope)
       @envelope = envelope
       if envelope["type"] == "dispatcher"
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index