From 3b750798eb005dd90756ea6676b5e9b7bbe951bf Mon Sep 17 00:00:00 2001 From: Ollie <69084614+olijeffers0n@users.noreply.github.com> Date: Tue, 1 Aug 2023 16:38:51 +0100 Subject: [PATCH] Add a huge max_size for large maps --- rustplus/api/remote/rustws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustplus/api/remote/rustws.py b/rustplus/api/remote/rustws.py index 53a2126..81be523 100644 --- a/rustplus/api/remote/rustws.py +++ b/rustplus/api/remote/rustws.py @@ -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()