Skip to content

Commit

Permalink
Disable max websocket message size
Browse files Browse the repository at this point in the history
  • Loading branch information
4Kaylum committed Oct 29, 2024
1 parent b4ed2d9 commit 7ba6f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion novus/api/gateway/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ async def _connect(
self.state = "Reconnecting"
else:
self.state = "Connecting"
ws = await session.ws_connect(ws_url, timeout=10.0)
ws = await session.ws_connect(ws_url, timeout=10.0, max_msg_size=0)
except Exception as e:
log.debug(
"[%s] Failed to connect to websocket (%s - %s), reattempting (%s)",
Expand Down

0 comments on commit 7ba6f01

Please sign in to comment.