aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-09-22 08:40:21 -0500
committerJP Dillingham <jp@dillingham.me>2022-09-22 08:40:21 -0500
commitaaf7f5285cad30db7f6eb6743456b38635da5ca0 (patch)
tree2b29eb500f86d4dffeece8bdfd0520107bccc06f /src
parente3f8fbd73904262462806e2972799665a3feee57 (diff)
downloadslskd-aaf7f5285cad30db7f6eb6743456b38635da5ca0.tar.gz
don't delete browse cache at the start of the scan
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 863108c3..aa4c5232 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -991,16 +991,6 @@ namespace slskd
State.SetValue(s => s with { Shares = current });
- try
- {
- System.IO.File.Delete(Path.Combine(Program.DataDirectory, "browse.cache"));
- Log.Information("Cleared browse response cache");
- }
- catch
- {
- // noop
- }
-
Log.Information("Share scan started");
}
else if (previous.Scanning && !current.Scanning)