aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLars <larsh@apache.org>2020-08-12 16:02:07 -0700
committerlhofhansl <larsh@apache.org>2020-08-18 16:04:32 -0700
commit649211bf272df2dc7057347992c2653cf1c3a6fb (patch)
tree765e0d88b305f802c3f59448df376bfe570024ad /builtin
parent7242de1d4bdb4cc98fce723044b2c8c5d9861c8b (diff)
downloadminetest-649211bf272df2dc7057347992c2653cf1c3a6fb.tar.gz
minetest-649211bf272df2dc7057347992c2653cf1c3a6fb.tar.bz2
minetest-649211bf272df2dc7057347992c2653cf1c3a6fb.zip
Allow the ABM time budget to be configurable.
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 1f71e4cb9..af4dc1def 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1282,6 +1282,10 @@ active_block_mgmt_interval (Active block management interval) float 2.0
# Length of time between Active Block Modifier (ABM) execution cycles
abm_interval (ABM interval) float 1.0
+# The time budget allowed for ABMs to execute on each step
+# (as a fraction of the ABM Interval)
+abm_time_budget (ABM time budget) float 0.2 0.1 0.9
+
# Length of time between NodeTimer execution cycles
nodetimer_interval (NodeTimer interval) float 0.2