Add starred cloud photos and opt-in seven-day random upload retention

This commit is contained in:
Pigway
2026-10-06 09:10:36 +08:00
parent 0a5b859ca0
commit c005a9444a
16 changed files with 643 additions and 7 deletions
+2
View File
@@ -169,6 +169,7 @@ class Scheduler:
duration=job.display_duration,
restore_previous=job.restore_previous,
priority=job.priority,
cleanup_unstarred=job.cleanup_unstarred,
),
).model_dump(mode="json")
)
@@ -253,6 +254,7 @@ class Scheduler:
try:
self.tick()
self.service.expire()
self.service.retention.sweep()
processed = self.service.process_one()
self.service.sync()
except Exception: