[Groonga-commit] droonga/droonga-engine at 7abfdb2 [master] Process system.absorb-data in a worker

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Apr 10 19:04:38 JST 2015


YUKI Hiroshi	2015-04-10 19:04:38 +0900 (Fri, 10 Apr 2015)

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

  Message:
    Process system.absorb-data in a worker

  Modified files:
    lib/droonga/plugins/system/absorb_data.rb

  Modified: lib/droonga/plugins/system/absorb_data.rb (+1 -3)
===================================================================
--- lib/droonga/plugins/system/absorb_data.rb    2015-04-10 19:01:53 +0900 (c013da5)
+++ lib/droonga/plugins/system/absorb_data.rb    2015-04-10 19:04:38 +0900 (67fc870)
@@ -25,8 +25,6 @@ module Droonga
   module Plugins
     module System
       class AbsorbDataHandler < AsyncCommand::Handler
-        action.synchronous = true
-
         DEFAULT_MESSAGES_PER_SECOND = 100
         DEFAULT_PROGRESS_INTERVAL_SECONDS = 3
         MIN_PROGRESS_INTERVAL_SECONDS = 1
@@ -140,7 +138,7 @@ module Droonga
           end
 
           def my_node_name
-            @messenger.engine_state.name
+            ENV["DROONGA_ENGINE_NAME"]
           end
 
           def prepare_progress_interval_seconds
-------------- next part --------------
HTML����������������������������...
Download 



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