add disk cache settings

This commit is contained in:
YouROK
2021-05-08 21:39:18 +03:00
parent 7971bd79f1
commit 64c1f48267

View File

@@ -8,9 +8,11 @@ import (
type BTSets struct {
// Cache
CacheSize int64 // in byte, def 200 mb
PreloadBuffer bool
ReaderReadAHead int // in percent, 5%-100%, [...S__X__E...] [S-E] not clean
CacheSize int64 // in byte, def 200 mb
PreloadBuffer bool
ReaderReadAHead int // in percent, 5%-100%, [...S__X__E...] [S-E] not clean
UseDisk bool
TorrentsSavePath string
// Torrent
ForceEncrypt bool