Navigation Menu

Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 10, 2015
1 parent 0ec89cb commit 83da224
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/droonga/data_absorber.rb
Expand Up @@ -95,7 +95,8 @@ def run
@error_message = "#{error['name']}: #{error['message']}"
end
when "system.absorb-data.progress"
@n_prosessed_messages = message["body"]["count"]
body = message["body"]
@n_prosessed_messages = body["nProcessedMessages"]
yield(:n_processed_messages => @n_processed_messages,
:percentage => progress_percentage,
:message => progress_message)
Expand Down Expand Up @@ -135,7 +136,7 @@ def source_client
:host => @source_host,
:port => @port,
:tag => @tag,
:progocol => :droonga,
:protocol => :droonga,
:receiver_host => @receiver_host,
:receiver_port => 0,
}
Expand All @@ -147,7 +148,7 @@ def destination_client
:host => @destination_host,
:port => @port,
:tag => @tag,
:progocol => :droonga,
:protocol => :droonga,
:receiver_host => @receiver_host,
:receiver_port => 0,
}.merge(@destination_client_options)
Expand Down

0 comments on commit 83da224

Please sign in to comment.