Add max/min server threads config (#20023)

This commit is contained in:
Sriharsha Chintalapani 2025-02-28 01:56:11 -08:00 committed by GitHub
parent dfb6e1e3fe
commit 08406b22f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,10 @@ server:
bindHost: ${SERVER_HOST:-0.0.0.0}
port: ${SERVER_ADMIN_PORT:-8586}
maxThreads: ${SERVER_MAX_THREADS:-50}
minThreads: ${SERVER_MIN_THREADS:-10}
idleThreadTimeout: ${SERVER_IDLE_THREAD_TIMEOUT:-1 minute}
# Above configuration for running http is fine for dev and testing.
# For production setup, where UI app will hit apis through DPS it
# is strongly recommended to run https instead. Note that only