From c58fea0cf5c8a47debad0cbc3ea2ca3ccca154f6 Mon Sep 17 00:00:00 2001 From: Lohikar Date: Thu, 31 Aug 2017 14:32:00 -0500 Subject: [PATCH] Reduce SSgarbage's tickrate (#3376) Reduces the garbage collector's tick rate to 2 seconds vs. 0.5 seconds - it doesn't need to tick this fast and this should in theory reduce GC lag. --- code/controllers/subsystems/garbage.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/subsystems/garbage.dm b/code/controllers/subsystems/garbage.dm index 419620fd4ba..9e88d36b2ab 100644 --- a/code/controllers/subsystems/garbage.dm +++ b/code/controllers/subsystems/garbage.dm @@ -3,7 +3,7 @@ var/datum/controller/subsystem/garbage_collector/SSgarbage /datum/controller/subsystem/garbage_collector name = "Garbage" priority = SS_PRIORITY_GARBAGE - wait = 5 + wait = 2 SECONDS flags = SS_FIRE_IN_LOBBY|SS_POST_FIRE_TIMING|SS_BACKGROUND|SS_NO_INIT var/collection_timeout = 3000// deciseconds to wait to let running procs finish before we just say fuck it and force del() the object