Skip to content

Commit

Permalink
Add a huge max_size for large maps
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed Aug 1, 2023
1 parent 2a6299b commit 3b75079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustplus/api/remote/rustws.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def connect(
)
address += f"?v={str(self.magic_value)}"
self.connection = await connect(
address, close_timeout=0, ping_interval=None
address, close_timeout=0, ping_interval=None, max_size=1_000_000_000
)
self.connected_time = time.time()

Expand Down

0 comments on commit 3b75079

Please sign in to comment.