attempting proxying using shared manager

This commit is contained in:
2025-12-09 16:30:38 -05:00
parent d0fdacc527
commit a785502946

View File

@@ -13,7 +13,7 @@ logger = logging.getLogger(__name__)
manager = Manager() manager = Manager()
# Maps user_id → dict of {connection_id: queue} # Maps user_id → dict of {connection_id: queue}
user_queues: Dict[str, Dict[str, queue.Queue]] = {} user_queues = manager.dict() # Shared across all Gunicorn workers
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)