mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
修改任务状态值
This commit is contained in:
1 parent
f970322f0a
commit
ee6e5bd8b4
3 files changed
+7
-7
No files matched your search
@@ -32,7 +32,7 @@ export default async () => {
|
||||
// 初始化更新所有任务状态为空闲
|
||||
await CrontabModel.update(
|
||||
{ status: CrontabStatus.idle },
|
||||
{ where: { status: { [Op.ne]: CrontabStatus.disabled } } },
|
||||
{ where: {} },
|
||||
);
|
||||
|
||||
// 初始化时安装所有处于安装中,安装成功,安装失败的依赖
|
||||
|
||||
Reference in new issue
Block a user