开机运行任务同时开始运行

This commit is contained in:
whyour
2026-06-01 23:24:10 +08:00
parent d8d30c3619
commit 865e3035b9
+1 -1
View File
@@ -793,7 +793,7 @@ export default class CronService {
{ where: { id: bootTasks.map((t) => t.id!) } },
);
for (const task of bootTasks) {
await this.runSingle(task.id!);
this.runSingle(task.id!);
}
}
}