fix: 失败的种子不会再次下载,也没有手动重试操作,每次要删数据库,挺麻烦的。 #818
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
有时候因网络等原因导致某些种子下载失败了,但还是往数据库添加已下载的记录,导致重新获取时不会对该种子再次重新下载。
当我把数据库对应数据删除后,重新获取该种子是可以下载的。
这里打算把下载失败的种子不入库,待下次下载成功才入库,又或者看看能不能改成对下载失败的种子可以提供一个手动检测或定时检测的机制来下载这批失败的种子。