aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/Options.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-02-08 12:14:07 -0600
committerJP Dillingham <jp@dillingham.me>2026-02-08 12:14:07 -0600
commit29d7927982da0cc26484410ead30758f242b3dfc (patch)
tree91cd1003aed69784b6ce93fbecdb6dcbfc134e1a /src/slskd/Core/Options.cs
parent357a49a8012ad9b8377103a51d4e939138f3ce01 (diff)
downloadslskd-29d7927982da0cc26484410ead30758f242b3dfc.tar.gz
add Timeout option for gluetun
Diffstat (limited to 'src/slskd/Core/Options.cs')
-rw-r--r--src/slskd/Core/Options.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index 565cbd4d..08fb1166 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -2361,6 +2361,12 @@ namespace slskd
public string Url { get; init; }
/// <summary>
+ /// Gets the timeout for HTTP requests to the Gluetun control server, in milliseconds.
+ /// </summary>
+ [Range(500, 10_000)]
+ public int Timeout { get; init; } = 1000;
+
+ /// <summary>
/// Gets the Gluetun control server authentication method.
/// </summary>
[Enum(typeof(GluetunClientAuthenticationMethod), ignoreCase: true)]