Additional Server Optimizations
This commit is contained in:
parent
cb57b27c77
commit
05bbd9be7f
@ -2,6 +2,7 @@
|
||||
requests
|
||||
python-socketio
|
||||
websocket-client
|
||||
eventlet
|
||||
|
||||
# GUI-related dependencies (Qt for GUI components)
|
||||
PyQt5
|
||||
|
@ -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("/")
|
||||
|
Loading…
x
Reference in New Issue
Block a user