Skip to content

Commit 3c8ca22

Browse files
liqiang-fit2cloudliuruibin
authored andcommitted
perf: revert preload.
1 parent 70e4f5f commit 3c8ca22

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)