mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
fix load in memory cache
This commit is contained in:
@@ -271,7 +271,7 @@ func (c *Cache) isIdInFileBE(ranges []Range, id int) bool {
|
||||
|
||||
// run only in cache on disk
|
||||
func (c *Cache) LoadPiecesOnDisk() {
|
||||
if c.torrent == nil {
|
||||
if c.torrent == nil || !settings.BTsets.UseDisk {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user