mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
remove comment
This commit is contained in:
@@ -199,7 +199,6 @@ func (c *Cache) cleanPieces() {
|
||||
rems := (c.filled-c.capacity)/c.pieceLength + 1
|
||||
for _, p := range remPieces {
|
||||
c.removePiece(p)
|
||||
//c.torrent.Piece(p.Id).UpdateCompletion() // safe call in Piece.Release()
|
||||
rems--
|
||||
if rems <= 0 {
|
||||
utils.FreeOSMemGC()
|
||||
|
||||
Reference in New Issue
Block a user