mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +01:00
Add log
This commit is contained in:
parent
1a09dc37a0
commit
0b3aa72015
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue