From 7651c22dbcf792e4f8072bf1732b0035359c181b Mon Sep 17 00:00:00 2001 From: royalcat Date: Mon, 17 Jun 2024 01:13:59 +0300 Subject: [PATCH] remove priority for all files --- src/sources/torrent/fs.go | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sources/torrent/fs.go b/src/sources/torrent/fs.go index ec63775..024bd78 100644 --- a/src/sources/torrent/fs.go +++ b/src/sources/torrent/fs.go @@ -112,7 +112,6 @@ func (fs *TorrentFS) files(ctx context.Context) (map[string]vfs.File, error) { fs.filesCache = make(map[string]vfs.File) for _, file := range files { - file.SetPriority(torrent.PiecePriorityNormal) p := vfs.AbsPath(file.Path()) tf, err := openTorrentFile(ctx, path.Base(p), file) if err != nil {