diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-02-07 18:46:11 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-02-07 18:46:11 -0600 |
| commit | 0f14c33d3d1682e235b6fe29a8bfe555e48a339f (patch) | |
| tree | cac1b7d79d5687bd6556de74abcb95761aded1c9 /src | |
| parent | 02a3a82cb2d14bc43102aea56437bab4a5d588b2 (diff) | |
| download | slskd-0f14c33d3d1682e235b6fe29a8bfe555e48a339f.tar.gz | |
add polling interval
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 7 |
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] |
