Stabilize staff concurrency and premium emoji; enable verified Drone deployment
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-09-13 19:48:41 +09:00
parent 733298bf06
commit cb35bb12e3
86 changed files with 2993 additions and 2455 deletions

24
scripts/wait_database.py Normal file
View File

@@ -0,0 +1,24 @@
import asyncio
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from sqlalchemy import text
from src.core.database import engine
async def main():
for attempt in range(30):
try:
async with engine.connect() as connection:
await connection.execute(text("SELECT 1"))
await engine.dispose()
return
except Exception:
if attempt == 29:
raise
await asyncio.sleep(1)
if __name__ == "__main__":
asyncio.run(main())