[Groonga-commit] droonga/fluent-plugin-droonga at ebd26b8 [graceful-restart-on-catalog-update] Stop catalog observer only when activated

Back to archive index

Yoji Shidara null+****@clear*****
Thu Feb 13 16:44:19 JST 2014


Yoji Shidara	2014-02-13 16:44:19 +0900 (Thu, 13 Feb 2014)

  New Revision: ebd26b8e06b9a0b089a189916bdf3cd77a2184e7
  https://github.com/droonga/fluent-plugin-droonga/commit/ebd26b8e06b9a0b089a189916bdf3cd77a2184e7

  Message:
    Stop catalog observer only when activated

  Modified files:
    lib/fluent/plugin/out_droonga.rb

  Modified: lib/fluent/plugin/out_droonga.rb (+3 -1)
===================================================================
--- lib/fluent/plugin/out_droonga.rb    2014-02-13 16:22:21 +0900 (4e173ea)
+++ lib/fluent/plugin/out_droonga.rb    2014-02-13 16:44:19 +0900 (aaad9a3)
@@ -37,7 +37,9 @@ module Fluent
 
     def shutdown
       @engine.shutdown
-      @catalog_observer.stop
+      if @catalog_observer
+        @catalog_observer.stop
+      end
       super
     end
 
-------------- next part --------------
HTML����������������������������...
다운로드 



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