increase server delay
This commit is contained in:
@@ -129,7 +129,7 @@ async def restart_service():
|
||||
|
||||
if hostname == "afsar":
|
||||
async def delayed_restart():
|
||||
await asyncio.sleep(1) # Wait 1 second
|
||||
await asyncio.sleep(settings.restart_delay)
|
||||
try:
|
||||
result = await asyncio.create_subprocess_exec(
|
||||
"sudo", "supervisorctl", "restart", "llm-api-mcphost",
|
||||
|
||||
Reference in New Issue
Block a user