[misc] add env for http keep alive timeout (#19847)
This commit is contained in:
@@ -463,6 +463,9 @@ class Envs:
|
||||
# Warmup
|
||||
SGLANG_WARMUP_TIMEOUT = EnvFloat(-1) # in seconds. If a warmup forward batch takes longer than this, the server will crash to prevent hanging. Recommend to increase warmup timeout to 1800 to accommodate some kernel JIT precache e.g. deep gemm
|
||||
|
||||
# HTTP Server
|
||||
SGLANG_TIMEOUT_KEEP_ALIVE = EnvInt(5)
|
||||
|
||||
# Health Check
|
||||
SGLANG_ENABLE_HEALTH_ENDPOINT_GENERATION = EnvBool(True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user