Add fs_id_list_max_threads option (#538)
Some checks failed
Deploy CI - 12.0 / deploy (push) Has been cancelled

Co-authored-by: yangheran <heran.yang@seafile.com>
This commit is contained in:
feiniks 2025-06-23 14:42:13 +08:00 committed by GitHub
parent e259f4a048
commit abd3ec0351
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -370,6 +370,12 @@ Go fileserver caches fs objects in memory. On the one hand, it avoids repeated c
fs_cache_limit = 100 fs_cache_limit = 100
``` ```
Since Pro 12.0.10 version, you can set the max threads of fs-id-list requests. When you download a repo, Seafile client will request fs id list, and you can control the maximum concurrency for handling fs-id-list requests in the go fileserver through `fs_id_list_max_threads` configuration, which defaults to 10.
```
[fileserver]
fs_id_list_max_threads = 20
```
## Profiling Go Fileserver Performance ## Profiling Go Fileserver Performance
Since Seafile 9.0.7, you can enable the profile function of go fileserver by adding the following configuration options: Since Seafile 9.0.7, you can enable the profile function of go fileserver by adding the following configuration options: