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

[Request] schedule cache updates based on expiry time #135

Open
djay opened this issue Jul 15, 2022 · 0 comments
Open

[Request] schedule cache updates based on expiry time #135

djay opened this issue Jul 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@djay
Copy link
Collaborator

djay commented Jul 15, 2022

Is your feature request related to a problem? Please describe.
We already predict the expiry time so no need to wait until playback or refresh to update teh cache.

Describe the solution you'd like
Change the queue to a priority queue based on expiry. Process based on now updates or if expired.

Describe alternatives you've considered
Set up a period schedule that reevaluates the predictions but this is wasteful

Additional context

  • should also try to optimise the predictions as some are too short
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
None yet
Development

No branches or pull requests

1 participant