aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs
index e37a9446..7021f808 100644
--- a/src/slskd/Core/Options.cs
+++ b/src/slskd/Core/Options.cs
@@ -1497,6 +1497,7 @@ namespace slskd
/// <summary>
/// Gets the limit for the number of concurrent search response operations.
/// </summary>
+ [Argument(default, "throttling-search-incoming-concurrency")]
[EnvironmentVariable("THROTTLING_SEARCH_INCOMING_CONCURRENCY")]
[Range(1, 100)]
[RequiresRestart]
@@ -1505,6 +1506,7 @@ namespace slskd
/// <summary>
/// Gets the limit for the number of queued search response operations, after which requests will be discarded.
/// </summary>
+ [Argument(default, "throttling-search-incoming-circuit-breaker")]
[EnvironmentVariable("THROTTLING_SEARCH_INCOMING_CIRCUIT_BREAKER")]
[Range(100, 10000)]
[RequiresRestart]
@@ -1513,6 +1515,7 @@ namespace slskd
/// <summary>
/// Gets the limit for the number of files that can be returned in a single search request.
/// </summary>
+ [Argument(default, "throttling-search-incoming-response-file-limit")]
[EnvironmentVariable("THROTTLING_SEARCH_INCOMING_RESPONSE_FILE_LIMIT")]
[Range(100, 5000)]
public int ResponseFileLimit { get; init; } = 500;