aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin/settingtypes.txt10
-rw-r--r--minetest.conf.example4
-rw-r--r--src/emerge.cpp1
3 files changed, 8 insertions, 7 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 28ea58ffd..e18de3382 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -2159,15 +2159,15 @@ chunksize (Chunk size) int 5
enable_mapgen_debug_info (Mapgen debug) bool false
# Maximum number of blocks that can be queued for loading.
-emergequeue_limit_total (Absolute limit of emerge queues) int 512
+emergequeue_limit_total (Absolute limit of queued blocks to emerge) int 512
# Maximum number of blocks to be queued that are to be loaded from file.
-# Set to blank for an appropriate amount to be chosen automatically.
-emergequeue_limit_diskonly (Limit of emerge queues on disk) int 64
+# This limit is enforced per player.
+emergequeue_limit_diskonly (Per-player limit of queued blocks load from disk) int 64
# Maximum number of blocks to be queued that are to be generated.
-# Set to blank for an appropriate amount to be chosen automatically.
-emergequeue_limit_generate (Limit of emerge queues to generate) int 64
+# This limit is enforced per player.
+emergequeue_limit_generate (Per-player limit of queued blocks to generate) int 64
# Number of emerge threads to use.
# Value 0:
diff --git a/minetest.conf.example b/minetest.conf.example
index f04822c47..17d24a566 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -3251,12 +3251,12 @@
# emergequeue_limit_total = 512
# Maximum number of blocks to be queued that are to be loaded from file.
-# Set to blank for an appropriate amount to be chosen automatically.
+# This limit is enforced per player.
# type: int
# emergequeue_limit_diskonly = 64
# Maximum number of blocks to be queued that are to be generated.
-# Set to blank for an appropriate amount to be chosen automatically.
+# This limit is enforced per player.
# type: int
# emergequeue_limit_generate = 64
diff --git a/src/emerge.cpp b/src/emerge.cpp
index a9fc0a4de..0ac26a682 100644
--- a/src/emerge.cpp
+++ b/src/emerge.cpp
@@ -159,6 +159,7 @@ EmergeManager::EmergeManager(Server *server)
nthreads = 1;
m_qlimit_total = g_settings->getU16("emergequeue_limit_total");
+ // FIXME: these fallback values are probably not good
if (!g_settings->getU16NoEx("emergequeue_limit_diskonly", m_qlimit_diskonly))
m_qlimit_diskonly = nthreads * 5 + 1;
if (!g_settings->getU16NoEx("emergequeue_limit_generate", m_qlimit_generate))