This commit is contained in:
jxxghp
2025-06-27 07:53:10 +08:00
parent 8068523d88
commit 4dd5ea8e2f
8 changed files with 220 additions and 188 deletions
+2
View File
@@ -131,6 +131,7 @@ class TorrentsChain(ChainBase):
ret_torrents.append(torrentinfo)
finally:
rss_items.clear()
del rss_items
return ret_torrents
def refresh(self, stype: Optional[str] = None, sites: List[int] = None) -> Dict[str, List[Context]]:
@@ -220,6 +221,7 @@ class TorrentsChain(ChainBase):
torrents_cache[domain] = torrents_cache[domain][-settings.CONF["torrents"]:]
finally:
torrents.clear()
del torrents
else:
logger.info(f'{indexer.get("name")} 没有获取到种子')