Skip to content

Commit 226f9c9

Browse files
committed
fix(system): extend graceful shutdown timeout to 180 seconds
1 parent b77b5a2 commit 226f9c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/helper/system.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ def _start_graceful_shutdown_monitor():
334334
"""
335335

336336
def monitor_thread():
337-
time.sleep(30) # 等待30秒
338-
logger.warning("优雅退出超时30秒,使用Docker API强制重启...")
337+
time.sleep(180) # 等待180秒
338+
logger.warning("优雅退出超时180秒,使用Docker API强制重启...")
339339
try:
340340
SystemHelper._docker_api_restart()
341341
except Exception as e:

0 commit comments

Comments
 (0)