Skip to content

Commit 25e43b0

Browse files
committed
Merge pull request godotengine#103701 from bruvzg/doc_pool
[Docs] Fix WorkerThreadPool wrong max thread value description.
2 parents 178566a + 1866988 commit 25e43b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/classes/ProjectSettings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3211,7 +3211,7 @@
32113211
The ratio of [WorkerThreadPool]'s threads that will be reserved for low-priority tasks. For example, if 10 threads are available and this value is set to [code]0.3[/code], 3 of the worker threads will be reserved for low-priority tasks. The actual value won't exceed the number of CPU cores minus one, and if possible, at least one worker thread will be dedicated to low-priority tasks.
32123212
</member>
32133213
<member name="threading/worker_pool/max_threads" type="int" setter="" getter="" default="-1">
3214-
Maximum number of threads to be used by [WorkerThreadPool]. Value of [code]-1[/code] means no limit.
3214+
Maximum number of threads to be used by [WorkerThreadPool]. Value of [code]-1[/code] means [code]1[/code] on Web, or a number of [i]logical[/i] CPU cores available on other platforms (see [method OS.get_processor_count]).
32153215
</member>
32163216
<member name="xr/openxr/binding_modifiers/analog_threshold" type="bool" setter="" getter="" default="false">
32173217
If [code]true[/code], enables the analog threshold binding modifier if supported by the XR runtime.

0 commit comments

Comments
 (0)