[Groonga-commit] droonga/droonga-engine at 6e5ea94 [master] Add missing connected check

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jul 17 23:28:52 JST 2014


Kouhei Sutou	2014-07-17 23:28:52 +0900 (Thu, 17 Jul 2014)

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

  Message:
    Add missing connected check

  Modified files:
    lib/droonga/fluent_message_sender.rb

  Modified: lib/droonga/fluent_message_sender.rb (+1 -1)
===================================================================
--- lib/droonga/fluent_message_sender.rb    2014-07-17 23:17:27 +0900 (d4903ba)
+++ lib/droonga/fluent_message_sender.rb    2014-07-17 23:28:52 +0900 (87a8c66)
@@ -56,7 +56,7 @@ module Droonga
     end
 
     def resume
-      connect
+      connect unless connected?
       @socket.resume
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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