mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
Extend sleep time to 10 seconds in switch_service (#4618)
Increase sleep duration before switching services.
This commit is contained in:
@@ -299,7 +299,7 @@ def switch_service():
|
||||
"""切换模型服务"""
|
||||
# kill掉已有服务
|
||||
stop_server()
|
||||
time.sleep(2)
|
||||
time.sleep(10)
|
||||
|
||||
try:
|
||||
base_config = DEFAULT_PARAMS
|
||||
|
||||
Reference in New Issue
Block a user