Add a refresh delay on globalstep
The globalstep causes re-calculation of area checks for all players on each tick. On larger servers, this quickly becomes a potential source of CPU pressure. This change adds a configurable refresh delay to allow server admins to alleviate the pressure.
This commit is contained in:
parent
95c1165e28
commit
a99d2103aa
|
@ -44,3 +44,5 @@ file:close()
|
||||||
|
|
||||||
setting("filename", "string", world_path.."/areas.dat")
|
setting("filename", "string", world_path.."/areas.dat")
|
||||||
|
|
||||||
|
-- configure the refresh delay for the name displays in the HUD
|
||||||
|
setting("number", "tick", 0.5)
|
||||||
|
|
Loading…
Reference in New Issue