π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Lint fixes
Neeraj Gupta172678dc424d
diff --git a/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart b/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dartindex e9c19a6fb1..2da6fc1f56 100644--- a/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart+++ b/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart@@ -370,6 +370,7 @@ class ClusterFeedbackService {Set<int> ignoredClusters, {int minClusterSize = 1,int maxClusterInCurrentRun = 500,+ int maxEmbeddingToRead = 10000,}) async {final faceMlDb = FaceMLDataDB.instance;_logger.info(@@ -416,9 +417,9 @@ class ClusterFeedbackService {w?.log('reading embeddings for $maxClusterInCurrentRun or ${sortedClusterIDs.length} clusters',);- final int maxEmbeddingToRead = 10000;+int currentPendingRead = 0;- List<int> clusterIdsToRead = [];+ final List<int> clusterIdsToRead = [];for (final clusterID in sortedClusterIDs) {if (maxClusterInCurrentRun-- <= 0) {break;