fix(system): extend graceful shutdown timeout to 180 seconds

This commit is contained in:
jxxghp
2026-05-07 20:09:23 +08:00
parent b77b5a21c5
commit 226f9c9318

View File

@@ -334,8 +334,8 @@ class SystemHelper(ConfigReloadMixin):
"""
def monitor_thread():
time.sleep(30) # 等待30秒
logger.warning("优雅退出超时30秒使用Docker API强制重启...")
time.sleep(180) # 等待180秒
logger.warning("优雅退出超时180秒使用Docker API强制重启...")
try:
SystemHelper._docker_api_restart()
except Exception as e: