Skip to content

Commit ee57b63

Browse files
paramatnerzhul
authored andcommittedMar 14, 2019
num_emerge_threads: Warn of crashes when > 1 (#8357)
1 parent 02a2389 commit ee57b63

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed
 

Diff for: ‎builtin/settingtypes.txt

+5-3
Original file line numberDiff line numberDiff line change
@@ -1915,16 +1915,18 @@ emergequeue_limit_diskonly (Limit of emerge queues on disk) int 64
19151915
emergequeue_limit_generate (Limit of emerge queues to generate) int 64
19161916

19171917
# Number of emerge threads to use.
1918+
# WARNING: Currently there are multiple bugs that may cause crashes when
1919+
# 'num_emerge_threads' is larger than 1. Until this warning is removed it is
1920+
# strongly recommended this value is set to the default '1'.
19181921
# Empty or 0 value:
19191922
# - Automatic selection. The number of emerge threads will be
19201923
# - 'number of processors - 2', with a lower limit of 1.
19211924
# Any other value:
19221925
# - Specifies the number of emerge threads, with a lower limit of 1.
1923-
# Warning: Increasing the number of emerge threads increases engine mapgen
1926+
# WARNING: Increasing the number of emerge threads increases engine mapgen
19241927
# speed, but this may harm game performance by interfering with other
19251928
# processes, especially in singleplayer and/or when running Lua code in
1926-
# 'on_generated'.
1927-
# For many users the optimum setting may be '1'.
1929+
# 'on_generated'. For many users the optimum setting may be '1'.
19281930
num_emerge_threads (Number of emerge threads) int 1
19291931

19301932
[Online Content Repository]

Diff for: ‎minetest.conf.example

+5-3
Original file line numberDiff line numberDiff line change
@@ -2994,16 +2994,18 @@
29942994
# emergequeue_limit_generate = 64
29952995

29962996
# Number of emerge threads to use.
2997+
# WARNING: Currently there are multiple bugs that may cause crashes when
2998+
# 'num_emerge_threads' is larger than 1. Until this warning is removed it is
2999+
# strongly recommended this value is set to the default '1'.
29973000
# Empty or 0 value:
29983001
# - Automatic selection. The number of emerge threads will be
29993002
# - 'number of processors - 2', with a lower limit of 1.
30003003
# Any other value:
30013004
# - Specifies the number of emerge threads, with a lower limit of 1.
3002-
# Warning: Increasing the number of emerge threads increases engine mapgen
3005+
# WARNING: Increasing the number of emerge threads increases engine mapgen
30033006
# speed, but this may harm game performance by interfering with other
30043007
# processes, especially in singleplayer and/or when running Lua code in
3005-
# 'on_generated'.
3006-
# For many users the optimum setting may be '1'.
3008+
# 'on_generated'. For many users the optimum setting may be '1'.
30073009
# type: int
30083010
# num_emerge_threads = 1
30093011

0 commit comments

Comments
 (0)
Please sign in to comment.