feat: add audited task review and linked manual retries
This commit is contained in:
@@ -399,6 +399,9 @@ func (w *WorkerConnection) command(ctx context.Context, op, id string, ref Worke
|
||||
}
|
||||
|
||||
func (w *WorkerConnection) validAssignment(a WorkerAssignment) bool {
|
||||
if a.Task.RetryOf != nil && (!validID(*a.Task.RetryOf) || *a.Task.RetryOf == a.Task.ID) {
|
||||
return false
|
||||
}
|
||||
if a.Task.Priority < 0 || a.Task.Priority > 9 {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user