YUKI Hiroshi
null+****@clear*****
Mon Jan 20 17:29:10 JST 2014
YUKI Hiroshi 2014-01-20 17:29:10 +0900 (Mon, 20 Jan 2014) New Revision: 7a74d0cb3185b5c93cb39294ba4b45ab094b2eec https://github.com/droonga/drnbench/commit/7a74d0cb3185b5c93cb39294ba4b45ab094b2eec Message: Specify port number as string Modified files: lib/drnbench/server/protocol-adapter.rb Modified: lib/drnbench/server/protocol-adapter.rb (+2 -2) =================================================================== --- lib/drnbench/server/protocol-adapter.rb 2014-01-20 17:27:42 +0900 (79e8bd3) +++ lib/drnbench/server/protocol-adapter.rb 2014-01-20 17:29:10 +0900 (36f1046) @@ -39,10 +39,10 @@ module Drnbench env = { "DROONGA_ENGINE_DEFAULT_DATASET" => @default_dataset, "DROONGA_ENGINE_HOST" => @config.engine.host, - "DROONGA_ENGINE_PORT" => @config.engine.port, + "DROONGA_ENGINE_PORT" => @config.engine.port.to_s, "DROONGA_ENGINE_TAG" => @config.engine.tag, "DROONGA_ENGINE_RECEIVE_HOST" => @host, - "DROONGA_ENGINE_RECEIVE_PORT" => @receive_port, + "DROONGA_ENGINE_RECEIVE_PORT" => @receive_port.to_s, } arguments = [env, *command] @pid = Process.spawn(*arguments) -------------- next part -------------- HTML����������������������������...Download