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:
Krausus
2015-08-08 19:31:13 -04:00
parent 61edb3eb95
commit a00f9bbc64
4 changed files with 7 additions and 7 deletions
@@ -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