12
This commit is contained in:
2
aiws.py
2
aiws.py
@@ -129,7 +129,7 @@ async def start_scheduler(service: GenerationService):
|
||||
break
|
||||
except Exception as e:
|
||||
logger.error(f"Scheduler error: {e}")
|
||||
await asyncio.sleep(300) # Check every 5 minutes
|
||||
await asyncio.sleep(600) # Check every 10 minutes
|
||||
|
||||
# --- LIFESPAN (Запуск FastAPI + Bot) ---
|
||||
@asynccontextmanager
|
||||
|
||||
Reference in New Issue
Block a user