mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +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
|
rems := (c.filled-c.capacity)/c.pieceLength + 1
|
||||||
for _, p := range remPieces {
|
for _, p := range remPieces {
|
||||||
c.removePiece(p)
|
c.removePiece(p)
|
||||||
//c.torrent.Piece(p.Id).UpdateCompletion() // safe call in Piece.Release()
|
|
||||||
rems--
|
rems--
|
||||||
if rems <= 0 {
|
if rems <= 0 {
|
||||||
utils.FreeOSMemGC()
|
utils.FreeOSMemGC()
|
||||||
|
|||||||
Reference in New Issue
Block a user