forked from Mirrorlandia_minetest/mesecons
e5896076fe
This is not exactly a fix for the issue, because extremely large circuits (3000+ conductors) still won't work with this applied. This simply aborts any execution if there is the danger of a stack overflow.
15 lines
721 B
Lua
15 lines
721 B
Lua
-- SETTINGS
|
|
BLINKY_PLANT_INTERVAL = 3
|
|
NEW_STYLE_WIRES = true -- true = new nodebox wires, false = old raillike wires
|
|
PRESSURE_PLATE_INTERVAL = 0.1
|
|
OBJECT_DETECTOR_RADIUS = 6
|
|
PISTON_MAXIMUM_PUSH = 15
|
|
MOVESTONE_MAXIMUM_PUSH = 100
|
|
MESECONS_RESUMETIME = 4 -- time to wait when starting the server before
|
|
-- processing the ActionQueue, don't set this too low
|
|
OVERHEAT_MAX = 20 -- maximum heat of any component that directly sends an output
|
|
-- signal when the input changes (e.g. luacontroller, gates)
|
|
-- Unit: actions per second, checks are every 1 second
|
|
STACK_SIZE = 3000 -- Recursive functions will abort when this is reached. Therefore,
|
|
-- this is also limits the maximum circuit size.
|