From 1929bbb927cd412ba0a38dbea8fa062d129b96bb Mon Sep 17 00:00:00 2001 From: samehajala <118663582+samehajala@users.noreply.github.com> Date: Sun, 29 Dec 2024 22:29:39 +0100 Subject: [PATCH] rate limiter already implemented --- payment/src/main/resources/application.properties | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/payment/src/main/resources/application.properties b/payment/src/main/resources/application.properties index 385b3b13..cf44ad34 100644 --- a/payment/src/main/resources/application.properties +++ b/payment/src/main/resources/application.properties @@ -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