simple_one_for_one不支持子节点为空

RestartStrategy = one_for_one,%%simple_one_for_one不支持子节点为空,会启动出错** exception exit: bad_start_spec,具体原因待查
MaxRestart = 1000,
MaxSecondsBetweenRestart = 10,
SupFlag = {RestartStrategy, MaxRestart, MaxSecondsBetweenRestart},
io:format("game_service_sup starting......~n"),
{ok, {SupFlag, []}}.

posted on 2012-03-31 13:30  linbingzhong  阅读(180)  评论(0)    收藏  举报

导航