[Groonga-commit] droonga/droonga-engine at e4a2ad3 [master] Resume also existing sender

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jul 17 23:15:29 JST 2014


Kouhei Sutou	2014-07-17 23:15:29 +0900 (Thu, 17 Jul 2014)

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

  Message:
    Resume also existing sender

  Modified files:
    lib/droonga/forwarder.rb

  Modified: lib/droonga/forwarder.rb (+5 -1)
===================================================================
--- lib/droonga/forwarder.rb    2014-07-17 23:15:05 +0900 (74a6bac)
+++ lib/droonga/forwarder.rb    2014-07-17 23:15:29 +0900 (420b8b9)
@@ -58,7 +58,11 @@ module Droonga
         next if Pathname.glob("#{path.to_s}/*").empty?
 
         destination = path.basename.to_s
-        next if****@sende*****?(destination)
+        sender = @senders[destination]
+        if sender
+          sender.resume
+          next
+        end
 
         components = destination.split(":")
         port = components.pop.to_i
-------------- next part --------------
HTML����������������������������...
下載 



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