Skip to content

Commit aef8879

Browse files
fix(playground): increase Nginx burst from 20 to 50 (DAK-6961) (#229)
autoSeedDemoData consumes burst tokens on page load; if user visits multiple lazy-seeded modes before Compare, burst is exhausted and seedCmp gets 429s. Raising to 50 gives enough headroom for all modes. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8dcebc9 commit aef8879

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/nginx-playground.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Nginx — Dakera Playground Rate Limiting + TLS (DAK-6706)
33
# =============================================================================
44
# Rate zones:
5-
# playground_api 10 req/min per IP, burst 20 — coarse DDoS ceiling (DAK-6710 AC8)
5+
# playground_api 10 req/min per IP, burst 50 — coarse DDoS ceiling (DAK-6710/6961)
66
# playground_health 60 req/s per IP, burst 20 — /health (monitoring)
77
# playground_conn 20 concurrent connections per IP
88
#
@@ -72,7 +72,7 @@ server {
7272
# server-side root-key injection (DAK-6713). The proxy forwards to the
7373
# engine on :3000.
7474
location / {
75-
limit_req zone=playground_api burst=20 nodelay;
75+
limit_req zone=playground_api burst=50 nodelay;
7676
limit_req_status 429;
7777

7878
proxy_pass http://127.0.0.1:3100;

0 commit comments

Comments
 (0)