[Groonga-commit] droonga/droonga-engine at e5c66fa [master] Report it if the event is not for the node

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 17 18:37:29 JST 2014


YUKI Hiroshi	2014-07-17 18:37:29 +0900 (Thu, 17 Jul 2014)

  New Revision: e5c66faf10edc3d5ee0f9ff553078c5627b53d6d
  https://github.com/droonga/droonga-engine/commit/e5c66faf10edc3d5ee0f9ff553078c5627b53d6d

  Message:
    Report it if the event is not for the node

  Modified files:
    lib/droonga/command/serf_event_handler.rb

  Modified: lib/droonga/command/serf_event_handler.rb (+4 -1)
===================================================================
--- lib/droonga/command/serf_event_handler.rb    2014-07-17 18:26:33 +0900 (c7a8902)
+++ lib/droonga/command/serf_event_handler.rb    2014-07-17 18:37:29 +0900 (be11743)
@@ -38,7 +38,10 @@ module Droonga
 
       def run
         parse_event
-        return true unless event_for_me?
+        unless event_for_me?
+          puts " => ignoring event not for me"
+          return true
+        end
 
         process_event
         output_live_nodes
-------------- next part --------------
HTML����������������������������...
Download 



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