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

[feature] Execute collect static only when versions change #246

Open
nemesifier opened this issue Jul 1, 2022 · 2 comments
Open

[feature] Execute collect static only when versions change #246

nemesifier opened this issue Jul 1, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@nemesifier
Copy link
Member

I have an idea of how we could deal with extreme slowness of calling collectstatic when using object storage:

  • We could hash the output of pip freeze in the dashboard container
  • Before calling collectstatic we check in redis to see if the current pip freeze hash is different from the one saved there
  • If it's different we call collectstatic and then save the new hash in redis

@pandafy @atb00ker what do you think?

@nemesifier nemesifier added the enhancement New feature or request label Jul 1, 2022
@atb00ker
Copy link
Member

atb00ker commented Jul 2, 2022

I think this would work! 😄

@pandafy
Copy link
Member

pandafy commented Jul 4, 2022

I agree, this will surely reduce the time for bringing up new container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

3 participants