1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix documentation of emergequeue_limit settings

This commit is contained in:
sfan5 2020-05-11 20:19:02 +02:00
parent 8ee2ece3c9
commit a9d6be8b6f
3 changed files with 8 additions and 7 deletions

View file

@ -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))