[Groonga-commit] droonga/fluent-plugin-droonga at 6fddec9 [master] Activate periodical sweep on initialization process of WatchHandler

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Fri Nov 1 15:46:58 JST 2013


YUKI Hiroshi	2013-11-01 15:46:58 +0900 (Fri, 01 Nov 2013)

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

  Message:
    Activate periodical sweep on initialization process of WatchHandler

  Modified files:
    lib/droonga/plugin/handler_watch.rb

  Modified: lib/droonga/plugin/handler_watch.rb (+3 -0)
===================================================================
--- lib/droonga/plugin/handler_watch.rb    2013-11-01 15:44:20 +0900 (bbb6a2e)
+++ lib/droonga/plugin/handler_watch.rb    2013-11-01 15:46:58 +0900 (b5355e1)
@@ -16,6 +16,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 require "droonga/watcher"
+require "droonga/sweeper"
 require "droonga/handler"
 
 module Droonga
@@ -25,6 +26,8 @@ module Droonga
     def initialize(*args)
       super
       @watcher = Watcher.new(@context)
+      @sweeper = Sweeper.new(@context)
+      @sweeper.activate_periodical_sweep
     end
 
     command "watch.subscribe" => :subscribe
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る