Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running PV using uwsgi doesn't work properly #14

Open
equinox0815 opened this issue Jul 9, 2017 · 0 comments
Open

running PV using uwsgi doesn't work properly #14

equinox0815 opened this issue Jul 9, 2017 · 0 comments

Comments

@equinox0815
Copy link
Member

equinox0815 commented Jul 9, 2017

After switching to uwsgi to host the system, which greatly improves performance, there is a weird kind of caching. It seems as all the calls to today() are only evaluated when uwsgi is (re)started/reloaded and from that time one will be handled as a static values. This leads to increasingly outdated views.
Following this I already tried to fix this issue in 25b6bfb but this didn't solve the problem.

The workaround for now is to reload uwsgi every 10 minutes but this is far from being an acceptable solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant