mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-02-10 14:06:41 +08:00
16 lines
263 B
Python
16 lines
263 B
Python
from app.helper.memory import MemoryHelper
|
|
|
|
|
|
def init_memory_manager():
|
|
"""
|
|
初始化内存监控器
|
|
"""
|
|
MemoryHelper().start_monitoring()
|
|
|
|
|
|
def stop_memory_manager():
|
|
"""
|
|
停止内存监控器
|
|
"""
|
|
MemoryHelper().stop_monitoring()
|