aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Core')
-rw-r--r--src/slskd/Core/ConnectionWatchdog.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Core/ConnectionWatchdog.cs b/src/slskd/Core/ConnectionWatchdog.cs
index d2f7caa8..1cf1779f 100644
--- a/src/slskd/Core/ConnectionWatchdog.cs
+++ b/src/slskd/Core/ConnectionWatchdog.cs
@@ -264,6 +264,7 @@ namespace slskd
{
var (delay, jitter) = Compute.ExponentialBackoffDelay(
iteration: attempts,
+ baseDelayInMilliseconds: 1000,
maxDelayInMilliseconds: ReconnectMaxDelayMilliseconds);
var approximateDelay = (int)Math.Ceiling((double)(delay + jitter) / 1000);