aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-01-19 12:53:17 -0600
committerGitHub <noreply@github.com>2026-01-19 12:53:17 -0600
commit6fdc317978fd91fbfd5828ee72c7e7f19c316b13 (patch)
tree0370a03f1fadda7e6d4979cb4ee46c4d75880e8d /config
parent9c1c726f2de69dd3fd38740f5bdb7f1f76e97fcf (diff)
parent5b302ae5f2e0c01cb111a37680d63df3d47b114d (diff)
downloadslskd-6fdc317978fd91fbfd5828ee72c7e7f19c316b13.tar.gz
Merge pull request #1608 from slskd/search-metrics
Add throttling for incoming search requests, add additional prometheus metrics covering search responses
Diffstat (limited to 'config')
-rw-r--r--config/slskd.example.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml
index b8723f4d..b5e3b321 100644
--- a/config/slskd.example.yml
+++ b/config/slskd.example.yml
@@ -179,6 +179,12 @@
# complete: 20160 # 2 weeks, in minutes
# incomplete: 43200 # 30 days, in minutes
# logs: 180 # days
+# throttling:
+# search:
+# incoming:
+# concurrency: 10 # number of search requests to process at the same time
+# circuit_breaker: 500 # maximum number of pending search requests
+# response_file_limit: 500 # maximum number of files to return in a single search response
# logger:
# disk: false
# no_color: false