Additional Server Optimizations

This commit is contained in:
Nicole Rappe 2025-04-30 04:48:11 -06:00
parent cb57b27c77
commit 05bbd9be7f
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,7 @@
requests
python-socketio
websocket-client
eventlet
# GUI-related dependencies (Qt for GUI components)
PyQt5

View File

@ -27,7 +27,10 @@ socketio = SocketIO(
app,
cors_allowed_origins="*",
async_mode="eventlet",
engineio_options={'max_http_buffer_size': 100_000_000}
engineio_options={
'max_http_buffer_size': 100_000_000,
'max_websocket_message_size': 100_000_000
}
)
@app.route("/")