[Groonga-commit] droonga/droonga-engine at f64f249 [buffered-forward] Remove obsolete codes

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Dec 22 17:43:25 JST 2014


YUKI Hiroshi	2014-12-22 17:43:25 +0900 (Mon, 22 Dec 2014)

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

  Message:
    Remove obsolete codes

  Modified files:
    lib/droonga/forwarder.rb

  Modified: lib/droonga/forwarder.rb (+0 -6)
===================================================================
--- lib/droonga/forwarder.rb    2014-12-22 17:37:55 +0900 (ddddd99)
+++ lib/droonga/forwarder.rb    2014-12-22 17:43:25 +0900 (52e938b)
@@ -28,7 +28,6 @@ module Droonga
     def initialize(loop, options={})
       @loop = loop
       @buffering = options[:buffering]
-      @engine_state = options[:engine_state]
       @senders = {}
     end
 
@@ -56,10 +55,6 @@ module Droonga
     end
 
     def resume
-      resume_from_accidents
-    end
-
-    def resume_from_accidents
       return unless Path.accidental_buffer.exist?
       Pathname.glob("#{Path.accidental_buffer}/*") do |path|
         next unless path.directory?
@@ -100,7 +95,6 @@ module Droonga
       unless receiver =~ /\A(.*):(\d+)\/(.*?)(\?.+)?\z/
         raise "format: hostname:port/tag(?params)"
       end
-
       host = $1
       port = $2
       tag  = $3
-------------- next part --------------
HTML����������������������������...
Download 



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