Run initial retention checks regardless of host uptime
This commit is contained in:
@@ -86,7 +86,7 @@ class LocalRetention:
|
||||
}
|
||||
|
||||
def sweep(self, force=False, dry_run=False):
|
||||
if not force and time.monotonic() - self.last < 3600:
|
||||
if not force and self.last and time.monotonic() - self.last < 3600:
|
||||
return {}
|
||||
if not dry_run:
|
||||
self.last = time.monotonic()
|
||||
|
||||
Reference in New Issue
Block a user