perf: revert preload.

This commit is contained in:
liqiang-fit2cloud 2025-11-04 14:00:32 +08:00
parent c3ab9f458d
commit 1fd6d13242

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()