YUKI Hiroshi
null+****@clear*****
Wed Apr 22 15:43:24 JST 2015
YUKI Hiroshi 2015-04-22 15:43:24 +0900 (Wed, 22 Apr 2015) New Revision: 26b5e57ab587c304459d331d1957402db33ddcda https://github.com/droonga/droonga-engine/commit/26b5e57ab587c304459d331d1957402db33ddcda Message: Output more trace logs around graceful stop Modified files: lib/droonga/fluent_message_receiver.rb Modified: lib/droonga/fluent_message_receiver.rb (+3 -0) =================================================================== --- lib/droonga/fluent_message_receiver.rb 2015-04-22 15:39:56 +0900 (080f18f) +++ lib/droonga/fluent_message_receiver.rb 2015-04-22 15:43:24 +0900 (4b2cd00) @@ -47,9 +47,12 @@ module Droonga logger.trace("stop_gracefully: middle") shutdown_server if****@clien*****? + logger.trace("stop_gracefully: no connecting client") yield elsif block_given? + logger.trace("stop_gracefully: waiting for #{@clients.size} clients to be disconnected") @on_shutdown_ready = lambda do + logger.trace("stop_gracefully: all clients are disconnected") yield end end -------------- next part -------------- HTML����������������������������... ダウンロード