mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-05 15:39:40 +08:00
fix memory threshold
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from app.core.config import settings
|
||||
from app.helper.memory import MemoryHelper
|
||||
|
||||
|
||||
@@ -8,7 +7,6 @@ def init_memory_manager():
|
||||
"""
|
||||
memory_manager = MemoryHelper()
|
||||
# 设置内存阈值和启动监控
|
||||
memory_manager.set_threshold(settings.CONF['memory'])
|
||||
memory_manager.start_monitoring()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user