[Groonga-commit] droonga/droonga-engine at 9ca81f9 [master] Fix mismatched variable name

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Nov 21 20:37:26 JST 2014


YUKI Hiroshi	2014-11-21 20:37:26 +0900 (Fri, 21 Nov 2014)

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

  Message:
    Fix mismatched variable name

  Modified files:
    lib/droonga/data_absorber.rb

  Modified: lib/droonga/data_absorber.rb (+1 -1)
===================================================================
--- lib/droonga/data_absorber.rb    2014-11-21 19:36:49 +0900 (c0b1947)
+++ lib/droonga/data_absorber.rb    2014-11-21 20:37:26 +0900 (25a3bc4)
@@ -75,7 +75,7 @@ module Droonga
     def report_progress(start_time_in_seconds)
       return nil unless can_report_remaining_time?
 
-      elapsed_time = Time.new.to_i - start
+      elapsed_time = Time.new.to_i - start_time_in_seconds
       progress = elapsed_time / required_time_in_seconds
       progress = [(progress * 100).to_i, 100].min
       remaining_time_in_seconds = [required_time_in_seconds - elapsed_time, 0].max
-------------- next part --------------
HTML����������������������������...
下載 



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