feat(config): add startup_timeout option with context propagation (#739) (#750)
Docker / Build and Push (push) Canceled after 0s
github-pages / deploy (push) Canceled after 0s
Test / make test (push) Canceled after 0s
Docker / release (push) Canceled after 0s

This commit is contained in:
h44z
2026-09-02 22:28:51 +02:00
committed by GitHub
parent a2ee8d1e46
commit 4337fb7809
4 changed files with 12 additions and 2 deletions
@@ -45,6 +45,7 @@ advanced:
route_table_offset: 20000
api_admin_only: true
limit_additional_user_peers: 0
startup_timeout: 5m
database:
debug: false
@@ -363,6 +364,12 @@ Additional or more specialized configuration options for logging and interface c
- **Environment Variable:** `WG_PORTAL_ADVANCED_LIMIT_ADDITIONAL_USER_PEERS`
- **Description:** Limit additional peers a normal user can create. `0` means unlimited.
### `startup_timeout`
- **Default:** `5m`
- **Environment Variable:** `WG_PORTAL_ADVANCED_STARTUP_TIMEOUT`
- **Description:** Timeout for the application startup process.
Increase this value if you are using a MikroTik backend with many clients.
---
## Database