From 757bbadaa1a33576502d795f378aca87d8ef7bfc Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Thu, 22 Jul 2021 12:18:07 +0300 Subject: [PATCH] Update piece.go --- server/torr/storage/torrstor/piece.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/torr/storage/torrstor/piece.go b/server/torr/storage/torrstor/piece.go index 5b5b3c4..abdbff3 100644 --- a/server/torr/storage/torrstor/piece.go +++ b/server/torr/storage/torrstor/piece.go @@ -74,7 +74,4 @@ func (p *Piece) Release() { p.dPiece.Release() } - p.cache.torrent.Piece(p.Id).SetPriority(torrent.PiecePriorityNone) - // fix remove pieces hash - //p.cache.torrent.Piece(p.Id).UpdateCompletion() }