aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 85d1491c..565cbd4d 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -2328,6 +2328,13 @@ namespace slskd
public bool PortForwarding { get; init; } = false;
/// <summary>
+ /// Gets the rate at which to poll the configured VPN client for status updates, in milliseconds.
+ /// </summary>
+ [Range(500, int.MaxValue)]
+ [RequiresRestart]
+ public int PollingInterval { get; init; } = 2500;
+
+ /// <summary>
/// Gets Gluetun options.
/// </summary>
[Validate]