heroku-python / flask-sockets

[DEPRECATED] Alternative: https://github.com/miguelgrinberg/flask-sock
MIT License
1.74k stars 167 forks source link

Using flask-sockets with App Factory pattern #64

Closed dmwesterhoff closed 5 years ago

dmwesterhoff commented 5 years ago

Having trouble getting connections to work when I try and use the @sockets.route on an app factory pattern. I suspect this may be due to some details I'm not familiar with regarding gevent, but can't confirm.

Has anyone got this working using the flask app factory design pattern?

dmwesterhoff commented 5 years ago

Closing this, moments later after far too long banging my head I figured out the problem -- I was using the gevent gunicorn worker instead of the shipped worker, thats a no go.