[Groonga-commit] droonga/droonga-engine at 82ec863 [master] Output more logs around buffered forwarding messages

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 7 15:46:34 JST 2015


YUKI Hiroshi	2015-04-07 15:46:34 +0900 (Tue, 07 Apr 2015)

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

  Message:
    Output more logs around buffered forwarding messages

  Modified files:
    lib/droonga/engine_node.rb

  Modified: lib/droonga/engine_node.rb (+8 -1)
===================================================================
--- lib/droonga/engine_node.rb    2015-04-07 15:33:22 +0900 (10f1266)
+++ lib/droonga/engine_node.rb    2015-04-07 15:46:34 +0900 (5b59982)
@@ -47,7 +47,14 @@ module Droonga
     def start
       logger.trace("start: start")
       @sender.resume
-      @buffer.start_forward if really_writable?
+      unles****@buffe*****?
+        if really_writable?
+          logger.info("Target becomes writable. Start to forwarding.")
+          @buffer.start_forward
+        else
+          logger.info("Target is still unwritable.")
+        end
+      end
       logger.trace("start: done")
     end
 
-------------- next part --------------
HTML����������������������������...
다운로드 



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