1
This commit is contained in:
@@ -439,9 +439,7 @@ return ctx.success({
|
||||
return ctx.fail('任务不存在');
|
||||
}
|
||||
|
||||
if (task.status !== 'failed') {
|
||||
return ctx.fail('只能重试失败的任务');
|
||||
}
|
||||
|
||||
|
||||
await task_status.update({
|
||||
status: 'pending',
|
||||
|
||||
Reference in New Issue
Block a user