aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-09-25 14:46:26 -0500
committerGitHub <noreply@github.com>2022-09-25 14:46:26 -0500
commitb1fd4801196ac8d69355f604dd615b1052696961 (patch)
treee016b346ddd9bee56ea6e037d1f82ed35476da95 /docs
parentcabbd9c2fcb30c6194d25045dd4a9f4bdf6d6e4f (diff)
parent79fb693cbb3d10d035944bb0a8eb324f2d9311f4 (diff)
downloadslskd-b1fd4801196ac8d69355f604dd615b1052696961.tar.gz
Merge pull request #661 from slskd/workers
Default scan workers to Environment.ProcessorCount
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index a7106487..dbe34a36 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -170,7 +170,7 @@ Scanning shares is an I/O intensive operation; all of the files and directories
are used to allow metadata to be read from several files concurrently. The scan generally gets faster as additional workers are added, but each worker also adds additional I/O pressure and increases CPU and memory usage. At some number of workers
performance will start to get worse as more are added. The optimal number of workers will vary from system to system, so if scan performance is important to you it will be a good idea to experiment to see what the optimal number is for your system.
-The default number of workers is 16.
+The default number of workers determined by the [Environment.ProcessorCount](https://learn.microsoft.com/en-us/dotnet/api/system.environment.processorcount?view=net-6.0) property.
| Command Line | Environment Variable | Description |
| ---------------------------- | -------------------------- | ------------------------------------------------------- |