mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-29 20:26:11 +08:00
修复停止任务后任务状态修改
This commit is contained in:
parent
fdc97773d1
commit
3ac41075fd
|
@ -209,7 +209,7 @@ export default class CronService {
|
||||||
}
|
}
|
||||||
|
|
||||||
await CrontabModel.update(
|
await CrontabModel.update(
|
||||||
{ status: CrontabStatus.queued, pid: undefined },
|
{ status: CrontabStatus.idle, pid: undefined },
|
||||||
{ where: { id: ids } },
|
{ where: { id: ids } },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user