From 186698872472e4e9b1a3c6a2f61aaf60b752eeab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pa=CC=84vels=20Nadtoc=CC=8Cajevs?=
<7645683+bruvzg@users.noreply.github.com>
Date: Thu, 6 Mar 2025 17:06:10 +0200
Subject: [PATCH] [Docs] Fix WorkerThreadPool wrong max thread value
description.
---
doc/classes/ProjectSettings.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml
index 4d92268446..54baf6a242 100644
--- a/doc/classes/ProjectSettings.xml
+++ b/doc/classes/ProjectSettings.xml
@@ -3211,7 +3211,7 @@
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.
- Maximum number of threads to be used by [WorkerThreadPool]. Value of [code]-1[/code] means no limit.
+ 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]).
If [code]true[/code], enables the analog threshold binding modifier if supported by the XR runtime.