YUKI Hiroshi
null+****@clear*****
Thu Apr 30 11:51:01 JST 2015
YUKI Hiroshi 2015-04-30 11:51:01 +0900 (Thu, 30 Apr 2015) New Revision: 5d496e70b5b2084ccacb120eb14c5d50b66b9bca https://github.com/droonga/droonga-engine/commit/5d496e70b5b2084ccacb120eb14c5d50b66b9bca Message: Allow to create instance of ForwardBuffer without environment variables Modified files: lib/droonga/forward_buffer.rb Modified: lib/droonga/forward_buffer.rb (+1 -1) =================================================================== --- lib/droonga/forward_buffer.rb 2015-04-30 11:50:50 +0900 (a083dfd) +++ lib/droonga/forward_buffer.rb 2015-04-30 11:51:01 +0900 (dbd4ef7) @@ -41,7 +41,7 @@ module Droonga @unpacker = MessagePack::Unpacker.new @target = node_name - @serf = Serf.new(ENV["DROONGA_ENGINE_NAME"]) + @serf = Serf.new(ENV["DROONGA_ENGINE_NAME"] || node_name) dirname = node_name.gsub("/", ":") @data_directory = Path.intentional_buffer + dirname -------------- next part -------------- HTML����������������������������... Download