mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
A few more process tweaks
- Removes unused btime globals. - Removes unnecessary multiplication. - Makes the garbage collector run twice as often, but do half as much work. - Makes the garbage collector SCHECK more often when performing hard deletions. - Adds a delay to the garbage collector's start.
This commit is contained in:
@@ -206,7 +206,7 @@
|
||||
CRASH("Process [name] hung and was restarted.")
|
||||
|
||||
if (main.getCurrentTickElapsedTime() > main.timeAllowance)
|
||||
sleep(world.tick_lag*1)
|
||||
sleep(world.tick_lag)
|
||||
cpu_defer_count++
|
||||
last_slept = TimeOfHour
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user