π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Clean up old link history
Neeraj Guptae8e7f81593c9
diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.goindex 3e08aeb253..17c7b5ba42 100644--- a/server/cmd/museum/main.go+++ b/server/cmd/museum/main.go@@ -800,7 +800,7 @@ func main() {setKnownAPIs(server.Routes())setupAndStartBackgroundJobs(objectCleanupController, replicationController3, fileDataCtrl)setupAndStartCrons(- userAuthRepo, collectionLinkRepo, twoFactorRepo, passkeysRepo, fileController, taskLockingRepo, emailNotificationCtrl,+ userAuthRepo, collectionLinkRepo, fileLinkRepo, twoFactorRepo, passkeysRepo, fileController, taskLockingRepo, emailNotificationCtrl,trashController, pushController, objectController, dataCleanupController, storageBonusCtrl, emergencyCtrl,embeddingController, healthCheckHandler, kexCtrl, castDb)@@ -930,6 +930,7 @@ func setupAndStartBackgroundJobs(}func setupAndStartCrons(userAuthRepo *repo.UserAuthRepository, collectionLinkRepo *public.CollectionLinkRepo,+ fileLinkRepo *public.FileLinkRepository,twoFactorRepo *repo.TwoFactorRepository, passkeysRepo *passkey.Repository, fileController *controller.FileController,taskRepo *repo.TaskLockRepository, emailNotificationCtrl *email.EmailNotificationController,trashController *controller.TrashController, pushController *controller.PushController,@@ -956,6 +957,7 @@ func setupAndStartCrons(userAuthRepo *repo.UserAuthRepository, collectionLinkRep_ = userAuthRepo.RemoveDeletedTokens(timeUtil.MicrosecondsBeforeDays(30))_ = castDb.DeleteOldSessions(context.Background(), timeUtil.MicrosecondsBeforeDays(7))_ = collectionLinkRepo.CleanupAccessHistory(context.Background())+ _ = fileLinkRepo.CleanupAccessHistory(context.Background())})schedule(c, "@every 1m", func() {