Navigation Menu

Skip to content

Commit

Permalink
Don't forward progress message too much
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 22, 2015
1 parent bfb7578 commit d5efb13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/droonga/plugins/system/absorb_data.rb
Expand Up @@ -246,6 +246,7 @@ def try_report_progress(options={})
elapsed_seconds = (now - @previous_report_time).to_i
if elapsed_seconds >= progress_interval_seconds
if options[:count_restored_objects]
@previous_report_time = now
count_total_n_objects do |count|
@previous_report_time = Time.now
@n_restored_objects = count - @n_initial_objects
Expand Down

0 comments on commit d5efb13

Please sign in to comment.