use shared objects like loops db access etc
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 8s

This commit is contained in:
2025-12-03 20:49:22 +01:00
parent 50225a6dec
commit a18576a61e
8 changed files with 526 additions and 46 deletions

View File

@@ -0,0 +1,8 @@
from typing import Optional
import asyncio
# These are filled at FastAPI startup
# DB instance
db = None
web_loop: Optional[asyncio.AbstractEventLoop] = None
broadcaster = None