mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-11 00:22:49 +00:00
优化
This commit is contained in:
parent
f03cbef492
commit
b8b40b4bf2
@ -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)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user