diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-25 07:19:26 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-25 07:19:26 +0000 |
| commit | 28168a7701c897a5b6af13bc472d6f5902e0a96d (patch) | |
| tree | bbb2ad5e238f118a31d4d1b974c0b391c74a12c1 /.env.example | |
| parent | 05b7edb5f5797100d8e0f59905e16488680928ec (diff) | |
chore: remove arbitrary default max connections limit
When NGIT_MAX_CONNECTIONS is unset the relay imposes no connection cap,
deferring to OS fd limits and infrastructure controls. The option remains
available for operators who want an explicit ceiling.
Diffstat (limited to '.env.example')
| -rw-r--r-- | .env.example | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.env.example b/.env.example index 43f8f6f..24090ef 100644 --- a/.env.example +++ b/.env.example | |||
| @@ -298,7 +298,7 @@ | |||
| 298 | # ============================================================================ | 298 | # ============================================================================ |
| 299 | 299 | ||
| 300 | # Maximum total connections to the relay | 300 | # Maximum total connections to the relay |
| 301 | # Prevents connection exhaustion DoS attacks | 301 | # When unset (default), connections are unlimited (defers to OS fd limits and infrastructure controls) |
| 302 | # CLI: --max-connections <count> | 302 | # CLI: --max-connections <count> |
| 303 | # Default: 4096 | 303 | # Default: unlimited |
| 304 | # NGIT_MAX_CONNECTIONS=4096 \ No newline at end of file | 304 | # NGIT_MAX_CONNECTIONS=4096 \ No newline at end of file |