aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-02-07 18:44:27 -0600
committerJP Dillingham <jp@dillingham.me>2026-02-07 18:44:27 -0600
commitfb757c4d789390ae3c838be46c356cb70fdb6aa1 (patch)
treecb3701d244872a29eae7c8c58353129b30201b71 /src
parent96c5e799a576d063e541f0c4ee0cd76847d75290 (diff)
downloadslskd-fb757c4d789390ae3c838be46c356cb70fdb6aa1.tar.gz
add a flag to the watchdog state to indicate that it is awaiting vpn
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/State.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slskd/Core/State.cs b/src/slskd/Core/State.cs
index f9a3bf97..cd742348 100644
--- a/src/slskd/Core/State.cs
+++ b/src/slskd/Core/State.cs
@@ -91,7 +91,8 @@ namespace slskd
{
public bool IsEnabled { get; init; } = false;
public bool IsAttemptingConnection { get; init; } = false;
- public DateTime? NextAttemptAt { get; init; }
+ public bool IsAwaitingVpn { get; init; } = false;
+ public DateTime? NextAttemptAt { get; init; } = null;
}
public record VpnState