aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2019-01-09 08:00:50 +0000
committerGitHub <noreply@github.com>2019-01-09 08:00:50 +0000
commit630c0ea997267447d983fb5c1129c8a2c67c24e4 (patch)
treee7399f43886cf31257e42de6b84d81472af0beca /builtin
parent95d4ff6d1b62945decc85003a99588bb0539c45b (diff)
downloadminetest-630c0ea997267447d983fb5c1129c8a2c67c24e4.tar.gz
minetest-630c0ea997267447d983fb5c1129c8a2c67c24e4.tar.bz2
minetest-630c0ea997267447d983fb5c1129c8a2c67c24e4.zip
Settingtypes.txt: Rewrite documentation of 'num_emerge_threads' (#8066)
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt13
1 files changed, 10 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index c312bdcf6..7e8854cae 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1923,9 +1923,16 @@ emergequeue_limit_diskonly (Limit of emerge queues on disk) int 64
emergequeue_limit_generate (Limit of emerge queues to generate) int 64
# Number of emerge threads to use.
-# Make this field blank or 0, or increase this number to use multiple threads.
-# On multiprocessor systems, this will improve mapgen speed greatly at the cost
-# of slightly buggy caves.
+# Empty or 0 value:
+# - Automatic selection. The number of emerge threads will be
+# - 'number of processors - 2', with a lower limit of 1.
+# Any other value:
+# - Specifies the number of emerge threads, with a lower limit of 1.
+# Warning: Increasing the number of emerge threads increases engine mapgen
+# speed, but this may harm game performance by interfering with other
+# processes, especially in singleplayer and/or when running Lua code in
+# 'on_generated'.
+# For many users the optimum setting may be '1'.
num_emerge_threads (Number of emerge threads) int 0
[Content Store]