feat(config): add commercial-mode to optimize HTTP middleware for lower memory usage

This commit is contained in:
Luis Pater
2025-12-25 21:05:01 +08:00
parent 8e749ac22d
commit 443c4538bb
3 changed files with 15 additions and 7 deletions

View File

@@ -39,6 +39,9 @@ api-keys:
# Enable debug logging
debug: false
# When true, disable high-overhead HTTP middleware features to reduce per-request memory usage under high concurrency.
commercial-mode: false
# When true, write application logs to rotating files instead of stdout
logging-to-file: false