Files
Paradise/code/controllers/Processes/garbage.dm
Krausus a00f9bbc64 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.
2015-08-08 19:31:13 -04:00

16 lines
507 B
Plaintext

/datum/controller/process/garbage_collector/setup()
name = "garbage"
schedule_interval = 10
start_delay = 3
garbageCollector = src
/datum/controller/process/garbage_collector/doWork()
// Garbage collection code can be found in code\modules\garbage collection\garbage_collector.dm
processGarbage()
/datum/controller/process/garbage_collector/statProcess()
..()
stat(null, "[del_everything ? "Off" : "On"], [queue.len] queued")
stat(null, "Dels: [dels_count], [soft_dels] soft, [hard_dels] hard")