try config procfile server:socketio

This commit is contained in:
Sorrel Bri 2019-10-13 10:28:06 -07:00
parent 0ccce5f73b
commit ad2efb4df3
2 changed files with 1 additions and 3 deletions

View file

@ -1,2 +1,2 @@
gunicorn --worker-class eventlet -w 1 server:app
gunicorn --worker-class eventlet -w 1 server:socketio
release: python manage.py db upgrade

View file

@ -25,7 +25,6 @@ if __name__ == '__main__':
app.register_blueprint(server)
migrate = Migrate(app, db)
socketio.run(app, debug=True)
return app
def run():
app = create_app()
@ -33,4 +32,3 @@ def run():
app.register_blueprint(server)
migrate = Migrate(app, db)
socketio.run(app, debug=False)
return app