mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-07-27 05:08:29 -06:00
Additional Server Optimizations
This commit is contained in:
@ -2,6 +2,7 @@
|
|||||||
requests
|
requests
|
||||||
python-socketio
|
python-socketio
|
||||||
websocket-client
|
websocket-client
|
||||||
|
eventlet
|
||||||
|
|
||||||
# GUI-related dependencies (Qt for GUI components)
|
# GUI-related dependencies (Qt for GUI components)
|
||||||
PyQt5
|
PyQt5
|
||||||
|
@ -27,7 +27,10 @@ socketio = SocketIO(
|
|||||||
app,
|
app,
|
||||||
cors_allowed_origins="*",
|
cors_allowed_origins="*",
|
||||||
async_mode="eventlet",
|
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("/")
|
@app.route("/")
|
||||||
|
Reference in New Issue
Block a user