Navigation Menu

Skip to content

Commit

Permalink
Process system.absorb-data in a worker
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 10, 2015
1 parent 7828d59 commit 7abfdb2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/droonga/plugins/system/absorb_data.rb
Expand Up @@ -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
Expand Down Expand Up @@ -140,7 +138,7 @@ def myself
end

def my_node_name
@messenger.engine_state.name
ENV["DROONGA_ENGINE_NAME"]
end

def prepare_progress_interval_seconds
Expand Down

0 comments on commit 7abfdb2

Please sign in to comment.