aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-06-08 17:43:58 -0500
committerJP Dillingham <jp@dillingham.me>2025-06-08 17:43:58 -0500
commitc629f2930a30335a90e31b73fcd2bdaebf903d54 (patch)
tree104d0dad1c30b3fc796795ca033c65c47d2268e2
parentf3cbc0328772786c85f47ba0c7b25f2e91b1b257 (diff)
downloadslskd-c629f2930a30335a90e31b73fcd2bdaebf903d54.tar.gz
clarify design
-rw-r--r--src/slskd/Core/ConnectionWatchdog.cs4
1 files changed, 4 insertions, 0 deletions
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
/// <summary>
/// Monitors the connection to the Soulseek network and reconnects with exponential backoff, if necessary.
/// </summary>
+ /// <remarks>
+ /// 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.
+ /// </remarks>
public class ConnectionWatchdog : IConnectionWatchdog
{
private static readonly int ReconnectMaxDelayMilliseconds = 300000; // 5 minutes