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:
Tai Kedzierski 2018-11-30 14:54:13 +00:00
parent 95c1165e28
commit a99d2103aa
1 changed files with 2 additions and 0 deletions

View File

@ -44,3 +44,5 @@ file:close()
setting("filename", "string", world_path.."/areas.dat")
-- configure the refresh delay for the name displays in the HUD
setting("number", "tick", 0.5)