YUKI Hiroshi
null+****@clear*****
Fri Jun 27 14:05:05 JST 2014
YUKI Hiroshi 2014-06-27 14:05:05 +0900 (Fri, 27 Jun 2014) New Revision: 5afe487bc3902054ae644130314a038e13dc8228 https://github.com/droonga/droonga-engine/commit/5afe487bc3902054ae644130314a038e13dc8228 Message: Define roles correctly Modified files: lib/droonga/serf.rb Modified: lib/droonga/serf.rb (+12 -12) =================================================================== --- lib/droonga/serf.rb 2014-06-27 14:02:43 +0900 (d85b0b5) +++ lib/droonga/serf.rb 2014-06-27 14:05:05 +0900 (fa1e4f9) @@ -23,6 +23,18 @@ require "droonga/line_buffer" module Droonga class Serf + ROLE = { + :default => { + :port => 7946, + }, + :source => { + :port => 7947, + }, + :destination => { + :port => 7948, + }, + } + class << self def path Droonga::Path.base + "serf" @@ -32,18 +44,6 @@ module Droonga Droonga::Path.state + "status_file" end - ROLE = { - :default => { - :port => 7946, - }, - :source => { - :port => 7947, - }, - :destination => { - :port => 7948, - }, - } - def load_status status_file = status_file if status_file.exist? -------------- next part -------------- HTML����������������������������...Download