Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 517 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 517 Bytes

cluster

An OTP application

Build

$ rebar3 compile

Application Config

example

[
	{cluster, [
	    {srv_id, 1}					%% required: @doc ServerId
	    ,{node_type, normal}			%% required: @doc node type: normal | cloud | center
	    ,{platform, <<"ios">>}			%% optional: @doc platform
	    ,{ver, <<"1.0.0">>}				%% optional: @doc cluster version
	    ,{center_node, '[email protected]'}
	    ,{center_cookie, '666'}
	    ,{is_master, false}			%% is master node?
	]
}].