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.
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.