Harden queue matching and retry behavior
This commit is contained in:
+3
-1
@@ -405,7 +405,9 @@ QUEUE_HTML = r"""<!doctype html>
|
||||
actions.append(actionButton("Cancel", () => queueAction(job.id, "cancel"), "danger"));
|
||||
return;
|
||||
}
|
||||
actions.append(actionButton("Retry", () => queueAction(job.id, "retry")));
|
||||
if (job.status === "failed" || job.status === "canceled") {
|
||||
actions.append(actionButton("Retry", () => queueAction(job.id, "retry")));
|
||||
}
|
||||
actions.append(actionButton("Remove", () => queueAction(job.id, "remove")));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user