You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could not get flask-stormpath to work when running via Gunicorn (and I was assuming it was some kind of nginx problem), and it turned out to be a Gunicorn is the problem.
Just a hunch, but I think it's because of the session caching. Using the preload_app in Gunicorn and setting this to true (so that the workers use shared memory) resolved this issue.
Just FYI, I'm using the sync server, two workers, with preload_app.
The text was updated successfully, but these errors were encountered:
I could not get flask-stormpath to work when running via Gunicorn (and I was assuming it was some kind of nginx problem), and it turned out to be a Gunicorn is the problem.
Just a hunch, but I think it's because of the session caching. Using the
preload_app
in Gunicorn and setting this to true (so that the workers use shared memory) resolved this issue.Just FYI, I'm using the sync server, two workers, with
preload_app
.The text was updated successfully, but these errors were encountered: