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

get_qiita_version should store and retrieve information from redis #3216

Closed
antgonza opened this issue Oct 17, 2022 · 1 comment
Closed

get_qiita_version should store and retrieve information from redis #3216

antgonza opened this issue Oct 17, 2022 · 1 comment

Comments

@antgonza
Copy link
Member

Currently, every time a page gets displayed we check the current git version of the qiita code via "get_qiita_version", which uses GitPython. The issue is that it actually uses Popen to do this operation which means that it issues a new command every time, which is less than ideal.

@antgonza
Copy link
Member Author

While looking on how to fix this, I found this comment: https://github.com/gitpython-developers/GitPython#leakage-of-system-resources

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

No branches or pull requests

1 participant