[Groonga-commit] droonga/fluent-plugin-droonga at 03b6590 [master] Emit [true] on successful (un)subscription

Back to archive index

Yoji Shidara null+****@clear*****
Tue Oct 15 11:15:54 JST 2013


Yoji Shidara	2013-10-15 11:15:54 +0900 (Tue, 15 Oct 2013)

  New Revision: 03b65905a665894f8cb9f1f2994c7710301a20ef
  https://github.com/droonga/fluent-plugin-droonga/commit/03b65905a665894f8cb9f1f2994c7710301a20ef

  Message:
    Emit [true] on successful (un)subscription

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

  Modified: lib/droonga/plugin/handler_watch.rb (+2 -2)
===================================================================
--- lib/droonga/plugin/handler_watch.rb    2013-10-11 18:34:16 +0900 (bd80707)
+++ lib/droonga/plugin/handler_watch.rb    2013-10-15 11:15:54 +0900 (f205bab)
@@ -45,7 +45,7 @@ module Droonga
                        :subscriptions => [query_record],
                        :route => route)
       end
-      # TODO return watch result to client
+      emit([true])
     end
 
     command "watch.unsubscribe" => :unsubscribe
@@ -61,7 +61,7 @@ module Droonga
         query != query_record
       end
       subscriber_record.subscriptions = subscriptions
-      # TODO return unwatch result to client
+      emit([true])
     end
 
     command "watch.feed" => :feed
-------------- next part --------------
HTML����������������������������...
Download 



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