Browse Source

force eventlet

main
Hendrik Langer 4 years ago
parent
commit
c7848feedd
  1. 2
      raspberry/roberto/__init__.py

2
raspberry/roberto/__init__.py

@ -64,7 +64,7 @@ def initialize_extensions(app):
from roberto.model import db from roberto.model import db
db.init_app(app) db.init_app(app)
#login.init_app(app) #login.init_app(app)
socketio.init_app(app, cors_allowed_origins="*", engineio_logger=app.config['DEBUG']) socketio.init_app(app, cors_allowed_origins="*", engineio_logger=app.config['DEBUG'], async_mode='eventlet')
pass pass
def register_blueprints(app): def register_blueprints(app):

Loading…
Cancel
Save