diff --git a/serve_mcphost.py b/serve_mcphost.py index bd5e7f5..2cd1645 100644 --- a/serve_mcphost.py +++ b/serve_mcphost.py @@ -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",