File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010from .embed_cache .manager import start_cache_manager
1111from lightllm .utils .log_utils import init_logger
1212from lightllm .utils .envs_utils import set_env_start_args , set_unique_server_name , get_unique_server_name
13- from lightllm .utils .envs_utils import get_lightllm_gunicorn_time_out_seconds , get_lightllm_gunicorn_keep_alive
13+ from lightllm .utils .envs_utils import get_lightllm_gunicorn_keep_alive
1414from .detokenization .manager import start_detokenization_process
1515from .router .manager import start_router_process
1616from lightllm .utils .process_check import is_process_active
@@ -418,8 +418,6 @@ def pd_master_start(args):
418418 "-" ,
419419 "--preload" ,
420420 "lightllm.server.api_http:app" ,
421- "--read-timeout" ,
422- f"{ get_lightllm_gunicorn_time_out_seconds ()} " ,
423421 "--keep-alive" ,
424422 f"{ get_lightllm_gunicorn_keep_alive ()} " ,
425423 ]
Original file line number Diff line number Diff line change @@ -74,10 +74,6 @@ def get_deepep_num_max_dispatch_tokens_per_rank():
7474 return int (os .getenv ("NUM_MAX_DISPATCH_TOKENS_PER_RANK" , 256 ))
7575
7676
77- def get_lightllm_gunicorn_time_out_seconds ():
78- return int (os .getenv ("LIGHTLMM_GUNICORN_TIME_OUT" , 180 ))
79-
80-
8177def get_lightllm_gunicorn_keep_alive ():
8278 return int (os .getenv ("LIGHTLMM_GUNICORN_KEEP_ALIVE" , 10 ))
8379
You can’t perform that action at this time.
0 commit comments