[Groonga-commit] droonga/droonga-engine at 0160e3b [master] Use more meaningful name

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Sep 6 00:10:44 JST 2014


Kouhei Sutou	2014-09-06 00:10:44 +0900 (Sat, 06 Sep 2014)

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

  Message:
    Use more meaningful name

  Modified files:
    lib/droonga/slice.rb

  Modified: lib/droonga/slice.rb (+3 -3)
===================================================================
--- lib/droonga/slice.rb    2014-09-06 00:09:53 +0900 (2c1b052)
+++ lib/droonga/slice.rb    2014-09-06 00:10:44 +0900 (a952f5d)
@@ -46,17 +46,17 @@ module Droonga
 
     def stop_gracefully
       logger.trace("stop_gracefully: start")
-      on_finish = lambda do
+      on_stop = lambda do
         @job_pusher.shutdown
         @processor.shutdown
         yield if block_given?
       end
       if @supervisor
         @supervisor.stop_gracefully do
-          on_finish.call
+          on_stop.call
         end
       else
-        on_finish.call
+        on_stop.call
       end
       logger.trace("stop_gracefully: done")
     end
-------------- next part --------------
HTML����������������������������...
다운로드 



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