YUKI Hiroshi
null+****@clear*****
Tue Apr 21 17:21:55 JST 2015
YUKI Hiroshi 2015-04-21 17:21:55 +0900 (Tue, 21 Apr 2015) New Revision: 6db93db417722215b87879925b83da7c26ec0f8c https://github.com/droonga/droonga-engine/commit/6db93db417722215b87879925b83da7c26ec0f8c Message: Use predefined tag name Modified files: lib/droonga/engine.rb Modified: lib/droonga/engine.rb (+2 -1) =================================================================== --- lib/droonga/engine.rb 2015-04-21 17:19:31 +0900 (12eb611) +++ lib/droonga/engine.rb 2015-04-21 17:21:55 +0900 (08127a5) @@ -25,6 +25,7 @@ require "droonga/cluster" require "droonga/catalog/loader" require "droonga/dispatcher" require "droonga/serf" +require "droonga/serf/tag" module Droonga class Engine @@ -50,7 +51,7 @@ module Droonga @state.on_ready = lambda do on_ready serf = Serf.new(@name.to_s) - serf.set_tag("internal-name", @internal_name) + serf.set_tag(Serf::Tag.internal_node_name, @internal_name) end @state.on_failure = lambda do on_failure -------------- next part -------------- HTML����������������������������... Download