diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-08-23 08:59:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-23 08:59:13 -0500 |
| commit | b82b84d955d403aab4e9da1ea1fc68e08c54dbbb (patch) | |
| tree | 5030e3731e4677bbc25c263847d5e14cb0cd5b19 /src/slskd/Shares/API/Controllers/SharesController.cs | |
| parent | 43b5411cbd8d85a338acc0033cfade3c509bf1f4 (diff) | |
| parent | 408ae0311e8a9756808281f705f6a7f23f07fb96 (diff) | |
| download | slskd-b82b84d955d403aab4e9da1ea1fc68e08c54dbbb.tar.gz | |
Merge pull request #612 from slskd/share-ex
Make share scanning log more verbosely in debug mode, and a little easier on memory
Diffstat (limited to 'src/slskd/Shares/API/Controllers/SharesController.cs')
| -rw-r--r-- | src/slskd/Shares/API/Controllers/SharesController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Shares/API/Controllers/SharesController.cs b/src/slskd/Shares/API/Controllers/SharesController.cs index 56023925..12a1c7b2 100644 --- a/src/slskd/Shares/API/Controllers/SharesController.cs +++ b/src/slskd/Shares/API/Controllers/SharesController.cs @@ -59,7 +59,7 @@ namespace slskd.Shares.API { var browse = await Shares.BrowseAsync(); - var summary = Shares.CachedShares.Select(share => + var summary = Shares.Shares.Select(share => { var directories = browse.Where(directory => directory.Name.StartsWith(share.RemotePath)); var fileCount = directories.Aggregate(seed: 0, (sum, directory) => |
