Skip to content

Commit

Permalink
chore(README): 更新 README 文件中的 node 版本要求为 >=20
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoMeiYouRen committed Nov 22, 2024
1 parent 14f7f58 commit d8b1f44
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ https://rss-demo.cmyr.dev

## 📦 依赖要求

- node >=16
- node >=20

## 🚀 部署

Expand Down
1 change: 0 additions & 1 deletion src/services/tasks/tasks.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,6 @@ export class TasksService implements OnApplicationBootstrap {
this.logger.warn(`bt 服务器当前的磁盘空间 ${dataFormat(freeSpaceOnDisk)} 小于 保留磁盘的最小值 ${dataFormat(minDiskSize)} ,正在自动删除中`)
// 按 下载体积降序
const torrents = await qBittorrent.listTorrents({ sort: 'downloaded', reverse: true })
// torrents.sort((a, b) => b?.downloaded - a?.downloaded)
const torrent = torrents.at(0)
if (torrent?.downloaded) { // 如果 torrent 存在且下载的体积大于 0,则删除
await this.tryRemoveTorrent(qBittorrent, torrent.hash)
Expand Down

0 comments on commit d8b1f44

Please sign in to comment.