kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Use werkzeug by default, suppress ay gevent messages.
rodzic
fd3ad50a46
commit
152916eea7
|
@ -400,6 +400,7 @@ def main():
|
|||
logging.getLogger('werkzeug').setLevel(logging.ERROR)
|
||||
logging.getLogger('socketio').setLevel(logging.ERROR)
|
||||
logging.getLogger('engineio').setLevel(logging.ERROR)
|
||||
logging.getLogger('geventwebsocket').setLevel(logging.ERROR)
|
||||
|
||||
|
||||
# Attempt to read in config file
|
||||
|
|
|
@ -37,7 +37,7 @@ flask_app_thread = None
|
|||
flask_shutdown_key = "temp"
|
||||
|
||||
# SocketIO instance
|
||||
socketio = SocketIO(app)
|
||||
socketio = SocketIO(app, async_mode='threading')
|
||||
|
||||
# Global store of telemetry data, which we will add data to and manage.
|
||||
# Under each key (which will be the sonde ID), we will have a dictionary containing:
|
||||
|
|
Ładowanie…
Reference in New Issue