diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-01-18 17:17:42 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-01-18 17:17:42 -0600 |
| commit | fa39c123a67351e6d55d9fa04fd662a6b27f0481 (patch) | |
| tree | c559d2b4ab9439600317583a7e7ae48d49971db6 /src/slskd/Core/Options.cs | |
| parent | ce693af3352a0aa977b489b1423cc845e9b40894 (diff) | |
| download | slskd-fa39c123a67351e6d55d9fa04fd662a6b27f0481.tar.gz | |
add command line args
Diffstat (limited to 'src/slskd/Core/Options.cs')
| -rw-r--r-- | src/slskd/Core/Options.cs | 3 |
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; |
