Skip to content

Commit 1fd6d13

Browse files
perf: revert preload.
1 parent c3ab9f4 commit 1fd6d13

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
@@ -17,6 +17,6 @@ def enable_force_gc():
1717
t.daemon = True
1818
t.start()
1919

20-
if CONFIG.get("ENABLE_MEMORY_OPTIMIZATION", '1') == "1":
20+
if CONFIG.get("ENABLE_FORCE_GC", '1') == "1":
2121
maxkb_logger.info(f"(PID: {CURRENT_PID}) Forced GC enabled")
2222
enable_force_gc()

0 commit comments

Comments
 (0)