docs/api-env-variables: add tunnel rate limit envs

This commit is contained in:
wukko 2025-05-14 19:07:31 +06:00
parent 0ae0bbfa1f
commit a2d12ce82f
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -34,6 +34,8 @@ this document is not final and will expand over time. feel free to improve it!
| RATELIMIT_MAX | `20` | `30` |
| SESSION_RATELIMIT_WINDOW | `60` | `60` |
| SESSION_RATELIMIT | `10` | `10` |
| TUNNEL_RATELIMIT_WINDOW | `60` | `60` |
| TUNNEL_RATELIMIT | `40` | `10` |
[*view details*](#limits)
@ -170,6 +172,16 @@ amount of session requests to be allowed within the time window of `SESSION_RATE
the value is a number.
### TUNNEL_RATELIMIT_WINDOW
rate limit time window for tunnel (proxy/stream) requests, in **seconds**.
the value is a number.
### TUNNEL_RATELIMIT
amount of tunnel requests to be allowed within the time window of `TUNNEL_RATELIMIT_WINDOW`.
the value is a number.
## security
[*jump to the table*](#security-vars)