mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
perf: revert preload.
This commit is contained in:
parent
70e4f5f467
commit
3c8ca222bd
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue