Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] log number of row in filesDB for debugging perf issues

ashilknbd5e53b83dba
diff --git a/mobile/lib/db/files_db.dart b/mobile/lib/db/files_db.dart
index b0482fef12..ebcc40bc8e 100644
--- a/mobile/lib/db/files_db.dart
+++ b/mobile/lib/db/files_db.dart
@@ -1721,6 +1721,8 @@ class FilesDB {
final result = await db.getAll(
'SELECT * FROM $filesTable ORDER BY $columnCreationTime DESC',
);
+ _logger.info("${result.length} rows in filesDB");
+
final List<EnteFile> files = await Computer.shared()
.compute(convertToFilesForIsolate, param: {"result": result});