You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does it delay responses or does it return an error in case the concurrency limit is met? And if yes which status code?
Edit: From my observation it delays the req/response processing. How would I reject the request when concurrency limit is met (to protect service from accumulating too many yet unprocessed requests)?
The text was updated successfully, but these errors were encountered:
lcmgh
changed the title
document concrete behavior of ConcurrencyLimitLayer ConcurrencyLimitLayer that rejects requests instead of queueing it
Sep 2, 2024
https://docs.rs/tower/latest/tower/limit/concurrency/struct.ConcurrencyLimitLayer.html
Does it delay responses or does it return an error in case the concurrency limit is met? And if yes which status code?
Edit: From my observation it delays the req/response processing. How would I reject the request when concurrency limit is met (to protect service from accumulating too many yet unprocessed requests)?
The text was updated successfully, but these errors were encountered: