api: add ingress request throttling

This commit is contained in:
a.tolmachev
2026-05-01 17:03:53 +00:00
parent 411d662676
commit 5f68fcbd04
7 changed files with 241 additions and 3 deletions
+2
View File
@@ -14,6 +14,8 @@ CRANK_UI_IMAGE=crank/ui:dev
CRANK_STORAGE_ROOT=/var/lib/crank/storage
CRANK_PUBLISH_BIND=127.0.0.1
CRANK_ADMIN_BIND=0.0.0.0:3001
CRANK_ADMIN_RATE_LIMIT_RPS=30
CRANK_ADMIN_RATE_LIMIT_BURST=60
CRANK_MCP_BIND=0.0.0.0:3002
CRANK_MCP_REFRESH_MS=5000
CRANK_MCP_RATE_LIMIT_RPS=60