Skip to content

Commit

Permalink
rate limiter already implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
samehajala committed Dec 29, 2024
1 parent 1b8215b commit 1929bbb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions payment/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ quarkus.http.cors.origins=*
mp.fault.tolerance.retry.max-retries=3
mp.fault.tolerance.retry.delay=500
mp.fault.tolerance.retry.jitter=200
# burst protection
quarkus.rate-limiter.buckets.group1.limits[0].permitted-uses: 10
quarkus.rate-limiter.buckets.group1.limits[0].period: 1S
# fair use
quarkus.rate-limiter.buckets.group1.limits[1].permitted-uses: 100
quarkus.rate-limiter.buckets.group1.limits[1].period: 5M


# BankClient Configuration
quarkus.rest-client."payment.api.clients.BankClient".url=http://localhost:8099
Expand Down

0 comments on commit 1929bbb

Please sign in to comment.