✨ feat(服务器): 修改服务器自动开服策略

This commit is contained in:
luying
2023-04-25 13:04:47 +08:00
parent af1f6b9d8c
commit 906449be60
14 changed files with 121 additions and 128 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ async function treatStartLogic(app: _pinus.Application) {
async function treatStartMainten(app: _pinus.Application) {
if(app.getServerType() == 'systimer') {
// 维护信息
await timeTaskService.initMaintenance(null, true);
await timeTaskService.initMaintenance(undefined, true);
} else {
await timeTaskService.initMaintenanaceInOtherServers();
}