increase server delay

This commit is contained in:
TCUDIKEL
2025-05-11 19:38:50 +03:00
parent 2e1e95a2c0
commit c24bf3a7e6

View File

@@ -129,7 +129,7 @@ async def restart_service():
if hostname == "afsar": if hostname == "afsar":
async def delayed_restart(): async def delayed_restart():
await asyncio.sleep(1) # Wait 1 second await asyncio.sleep(settings.restart_delay)
try: try:
result = await asyncio.create_subprocess_exec( result = await asyncio.create_subprocess_exec(
"sudo", "supervisorctl", "restart", "llm-api-mcphost", "sudo", "supervisorctl", "restart", "llm-api-mcphost",