We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d89a793 + 2abfc1e commit 5d2010aCopy full SHA for 5d2010a
apps/common/consumers.py
@@ -60,8 +60,9 @@ async def connect(self):
60
try:
61
self.websocket = await websockets.connect(
62
target_url,
63
- max_size=10485760,
+ max_size=52428800, # Increase to 50 MB
64
ping_interval=20,
65
+ open_timeout=30, # Default is 10 sec
66
subprotocols=subprotocols if subprotocols else None,
67
)
68
logger.info("Connected to upstream")
0 commit comments