Skip to content

Commit

Permalink
Update readme with more information
Browse files Browse the repository at this point in the history
  • Loading branch information
dodyg committed Oct 15, 2024
1 parent 9b8666e commit b76b6ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions projects/polly/rate-limiter-http-client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Polly Rate Limiting with Retry

You can find the policy for rate limiting and retry at `Program.cs`.

- In this case, we only allow max 20 concurrent requests - anything beyond that will be queue maximum to 50. If it exceed this queue, `RateLimiterRejectedException` will be thrown.
- We will retry maximum 3 times if the http request status is not `200`.

0 comments on commit b76b6ae

Please sign in to comment.