Change 'num_emerge_threads' default to 1 (#8303)

This commit is contained in:
Paramat 2019-03-05 22:58:38 +00:00 committed by rubenwardy
parent 19825d853e
commit 82739f4d7d
3 changed files with 3 additions and 3 deletions

@ -1925,7 +1925,7 @@ emergequeue_limit_generate (Limit of emerge queues to generate) int 64
# 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
num_emerge_threads (Number of emerge threads) int 1
[Online Content Repository]

@ -3005,7 +3005,7 @@
# 'on_generated'.
# For many users the optimum setting may be '1'.
# type: int
# num_emerge_threads = 0
# num_emerge_threads = 1
#
# Online Content Repository

@ -374,7 +374,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("emergequeue_limit_total", "512");
settings->setDefault("emergequeue_limit_diskonly", "64");
settings->setDefault("emergequeue_limit_generate", "64");
settings->setDefault("num_emerge_threads", "0");
settings->setDefault("num_emerge_threads", "1");
settings->setDefault("secure.enable_security", "true");
settings->setDefault("secure.trusted_mods", "");
settings->setDefault("secure.http_mods", "");