[Groonga-commit] droonga/droonga-engine at d5efb13 [master] Don't forward progress message too much

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 22 21:25:37 JST 2015


YUKI Hiroshi	2015-04-22 21:25:37 +0900 (Wed, 22 Apr 2015)

  New Revision: d5efb136196054d917a5fd936e06c1432ce53484
  https://github.com/droonga/droonga-engine/commit/d5efb136196054d917a5fd936e06c1432ce53484

  Message:
    Don't forward progress message too much

  Modified files:
    lib/droonga/plugins/system/absorb_data.rb

  Modified: lib/droonga/plugins/system/absorb_data.rb (+1 -0)
===================================================================
--- lib/droonga/plugins/system/absorb_data.rb    2015-04-22 21:07:17 +0900 (05b34e8)
+++ lib/droonga/plugins/system/absorb_data.rb    2015-04-22 21:25:37 +0900 (e762102)
@@ -246,6 +246,7 @@ module Droonga
             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
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index