mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-18 15:12:04 +00:00
fix: no peers condition
This commit is contained in:
parent
3ef10df57d
commit
e0d2e942af
1 changed files with 1 additions and 1 deletions
|
|
@ -310,7 +310,7 @@ export default class TorrentClient extends WebTorrent {
|
|||
|
||||
setTimeout(() => {
|
||||
if (torrent.destroyed || skipVerify) return
|
||||
if (!torrent.progress || !torrent.ready) {
|
||||
if (!torrent.progress && !torrent.ready) {
|
||||
if (torrent.numPeers === 0) this.dispatchError('No peers found for torrent, try using a different torrent.')
|
||||
}
|
||||
}, 10000).unref?.()
|
||||
|
|
|
|||
Loading…
Reference in a new issue