[Groonga-commit] droonga/droonga-engine at 103d889 [master] Output more trace logs for fluent receiver

Back to archive index

Piro / YUKI Hiroshi null+****@clear*****
Thu Apr 23 06:07:00 JST 2015


Piro / YUKI Hiroshi	2015-04-23 06:07:00 +0900 (Thu, 23 Apr 2015)

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

  Message:
    Output more trace logs for fluent receiver

  Modified files:
    lib/droonga/fluent_message_receiver.rb

  Modified: lib/droonga/fluent_message_receiver.rb (+6 -2)
===================================================================
--- lib/droonga/fluent_message_receiver.rb    2015-04-23 06:06:42 +0900 (43a463d)
+++ lib/droonga/fluent_message_receiver.rb    2015-04-23 06:07:00 +0900 (2df0d38)
@@ -103,8 +103,12 @@ module Droonga
         end
         client.on_close = lambda do
           @clients.delete(client)
-          if @on_shutdown_ready and****@clien*****?
-            @on_shutdown_ready.call
+          if @on_shutdown_ready
+            logger.trace("Client: a client is disconnected. still waiting for #{@clients.size} clients.",
+                         :clients => @clients)
+            if****@clien*****?
+              @on_shutdown_ready.call
+            end
           end
         end
         @clients << client
-------------- next part --------------
HTML����������������������������...
Download 



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