Run initial retention checks regardless of host uptime
This commit is contained in:
@@ -90,7 +90,7 @@ class Retention:
|
||||
)
|
||||
|
||||
def sweep(self):
|
||||
if time.monotonic() - self.checked < 3600:
|
||||
if self.checked and time.monotonic() - self.checked < 3600:
|
||||
return
|
||||
self.checked = time.monotonic()
|
||||
with self.service.lock:
|
||||
|
||||
Reference in New Issue
Block a user