mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 00:46:57 +08:00
fix
This commit is contained in:
@@ -19,7 +19,8 @@ class MemoryManager(metaclass=Singleton):
|
|||||||
self._monitoring = False
|
self._monitoring = False
|
||||||
self._monitor_thread: Optional[threading.Thread] = None
|
self._monitor_thread: Optional[threading.Thread] = None
|
||||||
|
|
||||||
def get_memory_usage(self) -> dict:
|
@staticmethod
|
||||||
|
def get_memory_usage() -> dict:
|
||||||
"""
|
"""
|
||||||
获取当前内存使用情况
|
获取当前内存使用情况
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -254,6 +254,7 @@ class RssHelper:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
if ret:
|
if ret:
|
||||||
|
ret_xml = None
|
||||||
try:
|
try:
|
||||||
# 检查响应大小,避免处理过大的RSS文件
|
# 检查响应大小,避免处理过大的RSS文件
|
||||||
raw_data = ret.content
|
raw_data = ret.content
|
||||||
|
|||||||
Reference in New Issue
Block a user