This commit is contained in:
COOL 2025-02-05 15:16:11 +08:00
parent f03cbef492
commit b8b40b4bf2

View File

@ -227,7 +227,6 @@ export class TaskLocalService extends BaseService {
*/
async initTask() {
try {
await this.utils.sleep(3000);
this.logger.info('init local task....');
const runningTasks = await this.taskInfoEntity.findBy({ status: 1 });
if (!_.isEmpty(runningTasks)) {