π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[server] Skip caching file count for locker
Neeraj Gupta9eb5417658a3
diff --git a/server/pkg/controller/usercache/count.go b/server/pkg/controller/usercache/count.goindex 22b5b512ca..33068187c1 100644--- a/server/pkg/controller/usercache/count.go+++ b/server/pkg/controller/usercache/count.go@@ -28,7 +28,7 @@ func (c *Controller) getUserCountAndUpdateCache(userID int64, app ente.App, oldCif err != nil {return 0, stacktrace.Propagate(err, "")}- if oldCache != nil && oldCache.Usage == usage && oldCache.TrashUpdatedAt == trashUpdatedAt {+ if oldCache != nil && oldCache.Usage == usage && oldCache.TrashUpdatedAt == trashUpdatedAt && app != ente.Locker {logrus.Debugf("Cache hit for user %d", userID)return oldCache.Count, nil}