mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +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
|
// run only in cache on disk
|
||||||
func (c *Cache) LoadPiecesOnDisk() {
|
func (c *Cache) LoadPiecesOnDisk() {
|
||||||
if c.torrent == nil {
|
if c.torrent == nil || !settings.BTsets.UseDisk {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user