mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
make new pieces prior managment
This commit is contained in:
@@ -96,6 +96,7 @@ func (t *Torrent) WaitInfo() bool {
|
||||
select {
|
||||
case <-t.Torrent.GotInfo():
|
||||
t.cache = t.bt.storage.GetCache(t.Hash())
|
||||
t.cache.SetTorrent(t.Torrent)
|
||||
return true
|
||||
case <-t.closed:
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user