perf: revert preload.

This commit is contained in:
liqiang-fit2cloud 2025-11-04 14:00:32 +08:00 committed by CaptainB
parent 70e4f5f467
commit 3c8ca222bd

View File

@ -17,6 +17,6 @@ def enable_force_gc():
t.daemon = True
t.start()
if CONFIG.get("ENABLE_MEMORY_OPTIMIZATION", '1') == "1":
if CONFIG.get("ENABLE_FORCE_GC", '1') == "1":
maxkb_logger.info(f"(PID: {CURRENT_PID}) Forced GC enabled")
enable_force_gc()