[Groonga-commit] droonga/fluent-plugin-droonga at b733c6f [master] Start and stop catalog observer

Back to archive index

Yoji Shidara null+****@clear*****
Thu Feb 13 16:22:21 JST 2014


Yoji Shidara	2014-02-13 16:22:21 +0900 (Thu, 13 Feb 2014)

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

  Message:
    Start and stop catalog observer

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

  Modified: lib/fluent/plugin/out_droonga.rb (+2 -0)
===================================================================
--- lib/fluent/plugin/out_droonga.rb    2014-02-13 16:22:06 +0900 (451d782)
+++ lib/fluent/plugin/out_droonga.rb    2014-02-13 16:22:21 +0900 (4e173ea)
@@ -29,6 +29,7 @@ module Fluent
       super
       Droonga::PluginLoader.load_all
       @catalog_observer = Droonga::CatalogObserver.new
+      @catalog_observer.start
       catalog = @catalog_observer.catalog
       @engine = Droonga::Engine.new(catalog, :name => @name)
       @engine.start
@@ -36,6 +37,7 @@ module Fluent
 
     def shutdown
       @engine.shutdown
+      @catalog_observer.stop
       super
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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