|
|
@ -25,8 +25,6 @@ doStartApp(MFAOrApp) -> |
|
|
|
end. |
|
|
|
|
|
|
|
start(_StartType, _StartArgs) -> |
|
|
|
io:format("IMY*************** ~p~n", [config:get_cls_type()]), |
|
|
|
timer:apply_after(7 *86400, init, stop, []), |
|
|
|
case config:get_cls_type() of |
|
|
|
?CLUSTER_NODE -> |
|
|
|
game_master_sup:start_link(["127.0.0.1", "9110"]); |
|
|
|