From dc5fd77f0f5392ea6e2014a78fb546eab15a9777 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 26 Oct 2023 19:20:05 +0300 Subject: [PATCH] fix "too many packets in payload" error --- files/routes/chat.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/routes/chat.py b/files/routes/chat.py index b1977e55d0..b7b00424df 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -20,6 +20,9 @@ from files.classes.orgy import * from files.__main__ import app, cache, limiter +from engineio.payload import Payload +Payload.max_decode_packets = 50 + socketio = SocketIO( app, async_mode='gevent',