✨ feat(服务器): 修改服务器自动开服策略
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user