Add engineio logging config option

This commit is contained in:
Jeremy Zhang
2018-02-22 01:49:08 +00:00
parent 19a44cb77b
commit bb4bf70fb1
2 changed files with 2 additions and 1 deletions

View File

@ -323,7 +323,7 @@ def language_code_list():
return codes
rate_limiter = Limiter(key_func=get_client_ipaddr) # Default limit by ip address
socketio = SocketIO()
socketio = SocketIO(engineio_logger=config.get("engineio-logging", False))
babel = Babel()
@socketio.on_error_default # disconnect on all errors