From c629f2930a30335a90e31b73fcd2bdaebf903d54 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 8 Jun 2025 17:43:58 -0500 Subject: clarify design --- src/slskd/Core/ConnectionWatchdog.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/slskd/Core/ConnectionWatchdog.cs b/src/slskd/Core/ConnectionWatchdog.cs index 4ffc58e0..d7c7838c 100644 --- a/src/slskd/Core/ConnectionWatchdog.cs +++ b/src/slskd/Core/ConnectionWatchdog.cs @@ -57,6 +57,10 @@ namespace slskd /// /// Monitors the connection to the Soulseek network and reconnects with exponential backoff, if necessary. /// + /// + /// This class is intended to be Started either at application startup or when the connection is disconnected, and + /// stopped when the application is connected again; it doesn't "run" all the time. + /// public class ConnectionWatchdog : IConnectionWatchdog { private static readonly int ReconnectMaxDelayMilliseconds = 300000; // 5 minutes -- cgit v1.2.3