From 220eb337f903f5aa0f410df5b39726d0556ef168 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 17 Jan 2024 11:35:20 +0100 Subject: [PATCH] No default values for optional rate limiting --- src/main/resources/forgejo/middleware-ratelimit.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/resources/forgejo/middleware-ratelimit.yaml b/src/main/resources/forgejo/middleware-ratelimit.yaml index 4c614e4..25184cd 100644 --- a/src/main/resources/forgejo/middleware-ratelimit.yaml +++ b/src/main/resources/forgejo/middleware-ratelimit.yaml @@ -1,10 +1,8 @@ -# Here, an average of 100 requests per second is allowed. -# In addition, a burst of 50 requests is allowed. apiVersion: traefik.io/v1alpha1 kind: Middleware metadata: name: ratelimit spec: - rateLimit: # ToDo: Config options for rate limiting: https://doc.traefik.io/traefik/middlewares/http/ratelimit/ - average: 100 - burst: 50 \ No newline at end of file + rateLimit: # Config options for rate limiting: https://doc.traefik.io/traefik/middlewares/http/ratelimit/ + average: AVG + burst: BRS \ No newline at end of file