[Groonga-commit] droonga/droonga-engine at f69fbf5 [master] Don't use magic number

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 21 22:35:28 JST 2015


YUKI Hiroshi	2015-04-21 22:35:28 +0900 (Tue, 21 Apr 2015)

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

  Message:
    Don't use magic number

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

  Modified: lib/droonga/plugins/system/absorb_data.rb (+1 -1)
===================================================================
--- lib/droonga/plugins/system/absorb_data.rb    2015-04-21 22:31:06 +0900 (ac445ab)
+++ lib/droonga/plugins/system/absorb_data.rb    2015-04-21 22:35:28 +0900 (0c8fb1f)
@@ -123,7 +123,7 @@ module Droonga
               yield
             end
 
-            timer = Coolio::TimerWatcher.new(3, true)
+            timer = Coolio::TimerWatcher.new(DEFAULT_PROGRESS_INTERVAL_SECONDS, true)
             timer.on_timer do
               if runner.alive?
                 begin
-------------- next part --------------
HTML����������������������������...
Download 



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