This commit is contained in:
Ming Ming 2024-01-13 18:57:53 +08:00
parent 1a09dc37a0
commit 0b3aa72015

View file

@ -104,8 +104,11 @@ class FileNpDbDataSource implements FileDataSource2 {
Stream<List<FileDescriptor>> getFileDescriptors(
Account account, String shareDirPath) async* {
_log.info("[getFileDescriptors] $account");
final stopwatch = Stopwatch()..start();
yield await _getPartialFileDescriptors(account);
yield await _getCompleteFileDescriptors(account, shareDirPath);
_log.info(
"[getFileDescriptors] Elapsed time: ${stopwatch.elapsedMilliseconds}ms");
}
@override