mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
disable use disk on empty path
This commit is contained in:
@@ -59,6 +59,11 @@ func SetBTSets(sets *BTSets) {
|
||||
if sets.ReaderReadAHead > 100 {
|
||||
sets.ReaderReadAHead = 100
|
||||
}
|
||||
|
||||
if sets.TorrentsSavePath == "" {
|
||||
sets.UseDisk = false
|
||||
}
|
||||
|
||||
BTsets = sets
|
||||
buf, err := json.Marshal(BTsets)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user