[verified] Scheduler refreshes once on boot (no 1h wait for first pull)
This commit is contained in:
@@ -62,7 +62,8 @@ class AppDataScheduler:
|
||||
|
||||
# -- internals ----------------------------------------------------------
|
||||
def _loop(self) -> None:
|
||||
# run an immediate refresh shortly after boot, then on interval
|
||||
# refresh once shortly after boot (so fresh data is live), then on interval
|
||||
self.refresh_all()
|
||||
while not self._stop.wait(self.interval):
|
||||
try:
|
||||
self.refresh_all()
|
||||
|
||||
Reference in New Issue
Block a user