π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[server] increse file data replication lockTime
Neeraj Gupta9e06245941b8
diff --git a/server/pkg/controller/filedata/replicate.go b/server/pkg/controller/filedata/replicate.goindex c9f99ed964..45b6786564 100644--- a/server/pkg/controller/filedata/replicate.go+++ b/server/pkg/controller/filedata/replicate.go@@ -57,7 +57,7 @@ func (c *Controller) replicate(i int) {}func (c *Controller) tryReplicate() error {- newLockTime := enteTime.MicrosecondsAfterMinutes(60)+ newLockTime := enteTime.MicrosecondsAfterMinutes(240)ctx, cancelFun := context.WithTimeout(context.Background(), 20*time.Minute)defer cancelFun()row, err := c.Repo.GetPendingSyncDataAndExtendLock(ctx, newLockTime, false)