[Groonga-commit] droonga/droonga-client-ruby at 5126472 [master] Add "--target-role" option to specify "targetRole" of the envelope

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 29 12:59:20 JST 2015


YUKI Hiroshi	2015-04-29 12:59:20 +0900 (Wed, 29 Apr 2015)

  New Revision: 51264722a4fa4005cb92f075463dd7ba602f1773
  https://github.com/droonga/droonga-client-ruby/commit/51264722a4fa4005cb92f075463dd7ba602f1773

  Message:
    Add "--target-role" option to specify "targetRole" of the envelope

  Modified files:
    lib/droonga/client.rb
    lib/droonga/command/base.rb

  Modified: lib/droonga/client.rb (+1 -0)
===================================================================
--- lib/droonga/client.rb    2015-04-20 14:49:13 +0900 (ed24a54)
+++ lib/droonga/client.rb    2015-04-29 12:59:20 +0900 (81e256c)
@@ -30,6 +30,7 @@ module Droonga
     DEFAULT_PORT = 10031
     DEFAULT_TAG  = "droonga"
     DEFAULT_DATASET = "Default"
+    DEFAULT_TARGET_ROLE = "any"
     DEFAULT_TIMEOUT_SECONDS = 3
 
     attr_writer :on_error

  Modified: lib/droonga/command/base.rb (+3 -0)
===================================================================
--- lib/droonga/command/base.rb    2015-04-20 14:49:13 +0900 (fb109c8)
+++ lib/droonga/command/base.rb    2015-04-29 12:59:20 +0900 (88f1cf9)
@@ -50,6 +50,9 @@ module Droonga
           option.on("receiver-host=",
                     "Host name of this host.",
                     :default => Client::DEFAULT_HOST)
+          option.on("target-role=",
+                    "Role of engine nodes which should receive the message.",
+                    :default => Client::DEFAULT_TARGET_ROLE)
           option.on("timeout=",
                     "Time to terminate unresponsive connections (in seconds).",
                     :default => Client::DEFAULT_TIMEOUT_SECONDS)
-------------- next part --------------
HTML����������������������������...
Download 



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