Navigation Menu

Skip to content

Commit

Permalink
Revert "Just reserve to forward message for dead nodes"
Browse files Browse the repository at this point in the history
This reverts commit 04e1a2d.
  • Loading branch information
piroor committed Jun 27, 2014
1 parent 02e30fa commit 43fbf89
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/droonga/dispatcher.rb
Expand Up @@ -162,11 +162,9 @@ def dispatch(message, destination)
if local?(destination)
process_internal_message(message)
else
only_reserve = @engine_state.dead_nodes.include?(destination)
@forwarder.forward(@message.merge("body" => message),
"type" => "dispatcher",
"to" => destination,
"reserve" => only_reserve)
"to" => destination)
end
end

Expand Down

0 comments on commit 43fbf89

Please sign in to comment.