Skip to content

Commit 701c962

Browse files
perf: revert preload.
1 parent 65bcb28 commit 701c962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/maxkb/settings/mem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
def enable_force_gc():
1414
collected = gc.collect()
1515
maxkb_logger.debug(f"(PID: {CURRENT_PID}) Forced GC ({collected} objects collected)")
16-
t = threading.Timer(GC_INTERVAL - random.randint(0, 900), force_gc)
16+
t = threading.Timer(GC_INTERVAL - random.randint(0, 900), enable_force_gc)
1717
t.daemon = True
1818
t.start()
1919

0 commit comments

Comments
 (0)