Navigation Menu

Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 14, 2015
1 parent 968e994 commit 6e41fc6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lib/droonga/plugins/system/absorb_data.rb
Expand Up @@ -73,15 +73,15 @@ def handle
end
@dumper_error_message = dumper.run do |message|
begin
message["dataset"] = current_dataset
@messenger.forward(message,
"to" => my_node_name,
"type" => message["type"])
@n_processed_messages += 1
elapsed_seconds = (Time.now - @start_time).to_i
if (elapsed_seconds % progress_interval_seconds).zero?
report_progress
end
message["dataset"] = current_dataset
@messenger.forward(message,
"to" => my_node_name,
"type" => message["type"])
@n_processed_messages += 1
elapsed_seconds = (Time.now - @start_time).to_i
if (elapsed_seconds % progress_interval_seconds).zero?
report_progress
end
rescue Exception => exception
@dumper_error_message
on_finish
Expand Down

0 comments on commit 6e41fc6

Please sign in to comment.