[Groonga-commit] droonga/droonga-engine at 252a930 [master] Don't run timer twice

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Thu Apr 23 17:50:28 JST 2015


YUKI Hiroshi	2015-04-23 17:50:28 +0900 (Thu, 23 Apr 2015)

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

  Message:
    Don't run timer twice

  Modified files:
    lib/droonga/engine.rb

  Modified: lib/droonga/engine.rb (+1 -3)
===================================================================
--- lib/droonga/engine.rb    2015-04-23 17:39:57 +0900 (c67cf0c)
+++ lib/droonga/engine.rb    2015-04-23 17:50:28 +0900 (1555e15)
@@ -55,8 +55,6 @@ module Droonga
       @cluster.on_change = lambda do
         @dispatcher.refresh_node_reference
       end
-
-      @export_last_processed_message_timestamp_observer = run_export_last_processed_message_timestamp_observer
     end
 
     def start
@@ -72,7 +70,7 @@ module Droonga
       @state.start
       @cluster.start
       @dispatcher.start
-      @export_last_processed_message_timestamp_observer.start
+      @export_last_processed_message_timestamp_observer = run_export_last_processed_message_timestamp_observer
       logger.trace("start: done")
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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