From e7233f9086276082df3c5b6fad4fb66b79f566c2 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Mon, 14 Feb 2022 17:39:10 +0100 Subject: [PATCH] increase burst limit, remove log mounts --- hosting/docker-compose.yaml | 4 ---- hosting/kubernetes/nginx/nginx.conf | 2 +- hosting/proxy/nginx.conf | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/hosting/docker-compose.yaml b/hosting/docker-compose.yaml index 17ed12a13d..378df79697 100644 --- a/hosting/docker-compose.yaml +++ b/hosting/docker-compose.yaml @@ -25,8 +25,6 @@ services: ENABLE_ANALYTICS: "true" REDIS_URL: redis-service:6379 REDIS_PASSWORD: ${REDIS_PASSWORD} - volumes: - - ./logs:/logs depends_on: - worker-service - redis-service @@ -53,8 +51,6 @@ services: INTERNAL_API_KEY: ${INTERNAL_API_KEY} REDIS_URL: redis-service:6379 REDIS_PASSWORD: ${REDIS_PASSWORD} - volumes: - - ./logs:/logs depends_on: - redis-service - minio-service diff --git a/hosting/kubernetes/nginx/nginx.conf b/hosting/kubernetes/nginx/nginx.conf index 9d03aaab18..fe56470768 100644 --- a/hosting/kubernetes/nginx/nginx.conf +++ b/hosting/kubernetes/nginx/nginx.conf @@ -92,7 +92,7 @@ http { location /api/ { # calls to the API are rate limited with bursting - limit_req zone=ratelimit burst=10 nodelay; + limit_req zone=ratelimit burst=20 nodelay; # 120s timeout on API requests proxy_read_timeout 120s; diff --git a/hosting/proxy/nginx.conf b/hosting/proxy/nginx.conf index ff12e2f49e..d6b481a2a9 100644 --- a/hosting/proxy/nginx.conf +++ b/hosting/proxy/nginx.conf @@ -96,7 +96,7 @@ http { location /api/ { # calls to the API are rate limited with bursting - limit_req zone=ratelimit burst=10 nodelay; + limit_req zone=ratelimit burst=20 nodelay; # 120s timeout on API requests proxy_read_timeout 120s;