[Groonga-commit] droonga/fluent-plugin-droonga at befb622 [master] Respect prefer_synchronous? value as possible.

Back to archive index

Daijiro MORI null+****@clear*****
Wed Nov 20 16:07:28 JST 2013


Daijiro MORI	2013-11-20 16:07:28 +0900 (Wed, 20 Nov 2013)

  New Revision: befb622ae35b23824b79e980411ea215b26547f5
  https://github.com/droonga/fluent-plugin-droonga/commit/befb622ae35b23824b79e980411ea215b26547f5

  Message:
    Respect prefer_synchronous? value as possible.

  Modified files:
    lib/droonga/collector.rb

  Modified: lib/droonga/collector.rb (+1 -1)
===================================================================
--- lib/droonga/collector.rb    2013-11-20 15:43:32 +0900 (b773bbb)
+++ lib/droonga/collector.rb    2013-11-20 16:07:28 +0900 (839648a)
@@ -43,7 +43,7 @@ module Droonga
         synchronous = nil
         if command
           # TODO: should be controllable for each command respectively.
-          synchronous = !n_of_expects.zero?
+          synchronous = true unless n_of_expects.zero?
           # TODO: check if asynchronous execution is available.
           message = {
             "task"=>task,
-------------- next part --------------
HTML����������������������������...
Download 



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