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

Re-sheduling needs fixing in cache_batch.go #2

Open
cluck opened this issue Oct 25, 2023 · 0 comments
Open

Re-sheduling needs fixing in cache_batch.go #2

cluck opened this issue Oct 25, 2023 · 0 comments

Comments

@cluck
Copy link
Owner

cluck commented Oct 25, 2023

The re-sheduling/sleeping for the updating of the caches needs more scrutiny. The original code definitely adds an interval each time it is called out of proper time which hints at timezone/summertime bugs waiting. Though, my fix/hack also has issues, and moreover introduces a concurrency issue.
Needs slight refactoring.

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