Define quick matchmaking globals
This commit is contained in:
6
app.py
6
app.py
@@ -241,9 +241,9 @@ async def new_room(request):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
quick_queue: deque[str]
|
quick_queue: deque[str] = deque()
|
||||||
quick_map: dict[str, Room]
|
quick_map: dict[str, Room] = {}
|
||||||
quick_last_map: dict[str, datetime]
|
quick_last_map: dict[str, datetime] = {}
|
||||||
lock = asyncio.Lock()
|
lock = asyncio.Lock()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user