[Groonga-commit] droonga/fluent-plugin-droonga at 57c2859 [master] Send back notification to subscriber

Back to archive index

Yoji Shidara null+****@clear*****
Fri Oct 11 16:23:44 JST 2013


Yoji Shidara	2013-10-11 16:23:44 +0900 (Fri, 11 Oct 2013)

  New Revision: 57c2859366d86f65939bcedba2030e75bfc267a5
  https://github.com/droonga/fluent-plugin-droonga/commit/57c2859366d86f65939bcedba2030e75bfc267a5

  Message:
    Send back notification to subscriber

  Modified files:
    lib/droonga/plugin/handler_watch.rb

  Modified: lib/droonga/plugin/handler_watch.rb (+3 -1)
===================================================================
--- lib/droonga/plugin/handler_watch.rb    2013-10-11 15:05:57 +0900 (a1039e9)
+++ lib/droonga/plugin/handler_watch.rb    2013-10-11 16:23:44 +0900 (2eed9dd)
@@ -154,7 +154,9 @@ module Droonga
         end
       end
       routes.each do |route, users|
-        p [route, users, request] # TODO dispatch to correct destination
+        message = request
+        envelope["to"] = users
+        post(message, "to" => route, "type" => "watch.notification")
       end
     end
   end
-------------- next part --------------
HTML����������������������������...
Download 



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