diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-11-21 18:47:00 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-11-21 18:47:00 -0600 |
| commit | 347eb4ed454c0d30996fbd6c46647e9282976844 (patch) | |
| tree | 5d04bfe7f299832c126387dc45da586c7fb3b2aa /src | |
| parent | 45df497064a1dbfd6db2bf731a5875490ce58ff5 (diff) | |
| download | slskd-347eb4ed454c0d30996fbd6c46647e9282976844.tar.gz | |
don't rebuild cache when scan finishes; wait for ready flag
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index aeb18201..71fb140d 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1052,7 +1052,6 @@ namespace slskd // ...but if it completed successfully, immediately update again to lower the pending flag State.SetValue(state => state with { Shares = state.Shares with { ScanPending = false } }); Log.Information("Shares scanned successfully. Found {Directories} directories and {Files} files in {Duration}ms", current.Directories, current.Files, (DateTime.UtcNow - SharesRefreshStarted).TotalMilliseconds); - rebuildBrowseCache = true; SharesRefreshStarted = default; |
