Change 'num_emerge_threads' default to 1 (#8303)

This commit is contained in:
Paramat 2019-03-05 22:58:38 +00:00 committed by GitHub
parent a7c5dc50e5
commit 1c87d57e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 # processes, especially in singleplayer and/or when running Lua code in
# 'on_generated'. # 'on_generated'.
# For many users the optimum setting may be '1'. # 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] [Online Content Repository]

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

@ -374,7 +374,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("emergequeue_limit_total", "512"); settings->setDefault("emergequeue_limit_total", "512");
settings->setDefault("emergequeue_limit_diskonly", "64"); settings->setDefault("emergequeue_limit_diskonly", "64");
settings->setDefault("emergequeue_limit_generate", "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.enable_security", "true");
settings->setDefault("secure.trusted_mods", ""); settings->setDefault("secure.trusted_mods", "");
settings->setDefault("secure.http_mods", ""); settings->setDefault("secure.http_mods", "");