feat: enforce durable queue resource limits and backpressure
This commit is contained in:
@@ -497,7 +497,7 @@ func (r *workerRuntime) receive(reply runtimeReply) error {
|
||||
r.remove(j)
|
||||
}
|
||||
return nil
|
||||
case "EXECUTION_PAUSED", "UNAVAILABLE":
|
||||
case "EXECUTION_PAUSED", "RATE_LIMITED", "UNAVAILABLE":
|
||||
if j.retryDelay == 0 {
|
||||
j.retryDelay = 200 * time.Millisecond
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user