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

This commit is contained in:
ashilkn
2024-10-03 16:54:18 +05:30
parent 6c4ef2e674
commit bd5e53b83d

View File

@@ -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});