Skip to content

Commit 9c8943f

Browse files
authored
fix: wrong worker thread count description (#471)
1 parent e39d871 commit 9c8943f

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

config-specs/paper/paper-global.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,12 @@ chunk-system:
6565
worker-threads:
6666
default: "-1"
6767
description: >-
68-
Sets the number of threads to be used for parallel chunk generation. If
69-
any value below zero is set, the server will determine the best number
70-
depending on the number of available CPU cores. This is capped at a
71-
quarter of available processors and can be less for systems with very few
72-
processors. _(Note: Hyper-Threaded threads **do not** count)_.
68+
Sets the number of threads to be used for parallel chunk generation.
69+
If a value below zero is set, the server will automatically determine the
70+
optimal number of threads based on the available physical CPU cores
71+
(**not logical cores**). For systems with 3 or fewer physical cores,
72+
only 1 thread will be used. In all other cases, the number of threads
73+
is capped at half of the physical cores.
7374
collisions:
7475
enable-player-collisions:
7576
default: "true"

docs/paper/admin/reference/system-properties.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ It also remaps plugin CB calls to remove the version information.
153153

154154
#### Paper.WorkerThreadCount:
155155

156-
- **default**: `8` or `number of cpus - 2`. Whichever is lower
157-
- **description**: Sets the number of worker threads to use for chunk loading.
156+
- **default**: half of available physical (**not logical**) cores or `1` if 3 or fewer cores are available
157+
- **description**: Sets the number of worker threads to use for chunk loading. See [here](./configuration/global-configuration.mdx#chunk_system_worker_threads) for more info.
158158

159159
#### Paper.excessiveTELimit:
160160

0 commit comments

Comments
 (0)