perf: revert preload.

v3.2
liqiang-fit2cloud 2025-11-04 13:35:53 +08:00
parent 65bcb28aa8
commit 701c962c2e
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ GC_INTERVAL = 3600
def enable_force_gc():
collected = gc.collect()
maxkb_logger.debug(f"(PID: {CURRENT_PID}) Forced GC ({collected} objects collected)")
t = threading.Timer(GC_INTERVAL - random.randint(0, 900), force_gc)
t = threading.Timer(GC_INTERVAL - random.randint(0, 900), enable_force_gc)
t.daemon = True
t.start()