Skip to content

Commit

Permalink
Initialize role from the saved state if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Dec 18, 2014
1 parent 6423841 commit 906965c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/droonga/serf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def start
"-bind", "#{extract_host(@name)}:#{port}",
"-event-handler", "droonga-engine-serf-event-handler",
"-log-level", log_level,
"-tag", "role=engine",
"-tag", "role=#{role}",
"-tag", "cluster_id=#{cluster_id}",
*retry_joins)
logger.trace("start: done")
Expand Down

0 comments on commit 906965c

Please sign in to comment.