|
10 | 10 | from .embed_cache.manager import start_cache_manager |
11 | 11 | from lightllm.utils.log_utils import init_logger |
12 | 12 | from 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 |
14 | 14 | from .detokenization.manager import start_detokenization_process |
15 | 15 | from .router.manager import start_router_process |
16 | 16 | from lightllm.utils.process_check import is_process_active |
@@ -351,8 +351,6 @@ def normal_or_p_d_start(args): |
351 | 351 | "--error-logfile", |
352 | 352 | "-", |
353 | 353 | "lightllm.server.api_http:app", |
354 | | - "--read-timeout", |
355 | | - f"{get_lightllm_gunicorn_time_out_seconds()}", |
356 | 354 | "--keep-alive", |
357 | 355 | f"{get_lightllm_gunicorn_keep_alive()}", |
358 | 356 | ] |
@@ -418,8 +416,6 @@ def pd_master_start(args): |
418 | 416 | "-", |
419 | 417 | "--preload", |
420 | 418 | "lightllm.server.api_http:app", |
421 | | - "--read-timeout", |
422 | | - f"{get_lightllm_gunicorn_time_out_seconds()}", |
423 | 419 | "--keep-alive", |
424 | 420 | f"{get_lightllm_gunicorn_keep_alive()}", |
425 | 421 | ] |
@@ -458,8 +454,6 @@ def config_server_start(args): |
458 | 454 | "-", |
459 | 455 | "--preload", |
460 | 456 | "lightllm.server.config_server.api_http:app", |
461 | | - "--read-timeout", |
462 | | - f"{get_lightllm_gunicorn_time_out_seconds()}", |
463 | 457 | "--keep-alive", |
464 | 458 | f"{get_lightllm_gunicorn_keep_alive()}", |
465 | 459 | ] |
|
0 commit comments