[Groonga-commit] droonga/droonga-engine at 6556398 [master] Fix typo

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 14 12:49:31 JST 2015


YUKI Hiroshi	2015-04-14 12:49:31 +0900 (Tue, 14 Apr 2015)

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

  Message:
    Fix typo
    
    n_prosessed_messages =>
    n_processed_messages
         ^

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

  Modified: lib/droonga/plugins/system/absorb_data.rb (+2 -2)
===================================================================
--- lib/droonga/plugins/system/absorb_data.rb    2015-04-14 12:26:06 +0900 (9fe6a5a)
+++ lib/droonga/plugins/system/absorb_data.rb    2015-04-14 12:49:31 +0900 (ecc2922)
@@ -118,7 +118,7 @@ module Droonga
           end
 
           def progress_percentage
-            progress = @n_prosessed_messages / @total_n_source_records
+            progress = @n_processed_messages / @total_n_source_records
             [(progress * 100).to_i, 100].min
           end
 
@@ -126,7 +126,7 @@ module Droonga
           ONE_HOUR_IN_SECONDS = ONE_MINUTE_IN_SECONDS * 60
 
           def progress_message
-            n_remaining_records = [@total_n_source_records - @n_prosessed_messages, 0].max
+            n_remaining_records = [@total_n_source_records - @n_processed_messages, 0].max
 
             remaining_seconds  = n_remaining_records / @messages_per_second
             remaining_hours    = (remaining_seconds / ONE_HOUR_IN_SECONDS).floor
-------------- next part --------------
HTML����������������������������...
Download 



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