Use werkzeug by default, suppress ay gevent messages.

pull/99/head
Mark Jessop 2018-12-26 12:48:00 +10:30
rodzic fd3ad50a46
commit 152916eea7
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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: