mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-20 16:12:31 +00:00
fix: no peers condition
This commit is contained in:
parent
7957f2ff11
commit
d1a2f714de
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