mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
revert some
This commit is contained in:
@@ -232,13 +232,6 @@ func (c *Cache) getRemPieces() []*Piece {
|
||||
piecesRemove = append(piecesRemove, p)
|
||||
}
|
||||
}
|
||||
if c.torrent.PieceState(id).Complete != c.pieces[id].Complete {
|
||||
if c.pieces[id].Complete {
|
||||
c.torrent.Piece(id).Storage().MarkComplete()
|
||||
} else {
|
||||
c.torrent.Piece(id).Storage().MarkNotComplete()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for r, _ := range c.readers {
|
||||
|
||||
Reference in New Issue
Block a user