Browse Source

ft: 启动修改

master
SisMaker 3 weeks ago
parent
commit
8ea036ab9d
2 changed files with 1 additions and 2 deletions
  1. +0
    -2
      src/main.erl
  2. +1
    -0
      start_center.bat

+ 0
- 2
src/main.erl View File

@ -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"]);

+ 1
- 0
start_center.bat View File

@ -0,0 +1 @@
erl -name mrzj_dev_center@127.0.0.1 -args_file "./config/vm.args" -config "./config/cls.config"

Loading…
Cancel
Save