aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-10-23 09:02:00 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-10-23 09:02:00 -0500
commitf8965546767931474ecb75417c11f0551d7717f9 (patch)
tree057d0700596b39915209e6f92d9b36103649834e /src
parent11466b1a1a76d43ad8760fe2bb9bbee49816333d (diff)
downloadslskd-f8965546767931474ecb75417c11f0551d7717f9.tar.gz
enable keepalive after db creation
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Shares/ShareService.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slskd/Shares/ShareService.cs b/src/slskd/Shares/ShareService.cs
index 88105a8f..2313cee4 100644
--- a/src/slskd/Shares/ShareService.cs
+++ b/src/slskd/Shares/ShareService.cs
@@ -400,6 +400,8 @@ namespace slskd.Shares
}
}
+ Local.Repository.EnableKeepalive(true);
+
// one of several thigns happened above before we got here:
// this method was called with forceRescan = true
// the storage mode is memory, and we loaded the in-memory db from a valid backup