Skip to content

Commit

Permalink
fix: wrong worker thread count description (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce authored Aug 24, 2024
1 parent e39d871 commit 9c8943f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions config-specs/paper/paper-global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ chunk-system:
worker-threads:
default: "-1"
description: >-
Sets the number of threads to be used for parallel chunk generation. If
any value below zero is set, the server will determine the best number
depending on the number of available CPU cores. This is capped at a
quarter of available processors and can be less for systems with very few
processors. _(Note: Hyper-Threaded threads **do not** count)_.
Sets the number of threads to be used for parallel chunk generation.
If a value below zero is set, the server will automatically determine the
optimal number of threads based on the available physical CPU cores
(**not logical cores**). For systems with 3 or fewer physical cores,
only 1 thread will be used. In all other cases, the number of threads
is capped at half of the physical cores.
collisions:
enable-player-collisions:
default: "true"
Expand Down
4 changes: 2 additions & 2 deletions docs/paper/admin/reference/system-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ It also remaps plugin CB calls to remove the version information.

#### Paper.WorkerThreadCount:

- **default**: `8` or `number of cpus - 2`. Whichever is lower
- **description**: Sets the number of worker threads to use for chunk loading.
- **default**: half of available physical (**not logical**) cores or `1` if 3 or fewer cores are available
- **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.

#### Paper.excessiveTELimit:

Expand Down

0 comments on commit 9c8943f

Please sign in to comment.