aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-09-24 17:35:05 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-09-24 17:35:05 -0500
commit052524a14612d08823b31696d0c35b66bcc066b5 (patch)
tree81837ca275517d7aabd70fe981fa47f6adb4ec54 /src
parenta4fcf65d451e9c2629f9f113ca06485b7e564f8e (diff)
downloadslskd-052524a14612d08823b31696d0c35b66bcc066b5.tar.gz
foce a scan at start if the cache can't be loaded from disk
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Application.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs
index 86d74d4d..bc3892d9 100644
--- a/src/slskd/Application.cs
+++ b/src/slskd/Application.cs
@@ -385,8 +385,7 @@ namespace slskd
}
else
{
- // todo: should this be forced prior to connection if the cache can't be loaded?
- _ = Shares.ScanAsync();
+ await Shares.ScanAsync();
}
}