mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
remove unused
This commit is contained in:
@@ -28,8 +28,6 @@ type BTSets struct {
|
|||||||
EnableDebug bool // print logs
|
EnableDebug bool // print logs
|
||||||
|
|
||||||
// BT Config
|
// BT Config
|
||||||
AcceptPeerCon bool `default:"true"`
|
|
||||||
AnnTorrentsToDht bool `default:"true"`
|
|
||||||
EnableIPv6 bool
|
EnableIPv6 bool
|
||||||
DisableTCP bool
|
DisableTCP bool
|
||||||
DisableUTP bool
|
DisableUTP bool
|
||||||
@@ -126,7 +124,7 @@ func SetDefault() {
|
|||||||
sets.CacheSize = 96 * 1024 * 1024 // 96 MB
|
sets.CacheSize = 96 * 1024 * 1024 // 96 MB
|
||||||
sets.PreloadCache = 0
|
sets.PreloadCache = 0
|
||||||
sets.ConnectionsLimit = 23
|
sets.ConnectionsLimit = 23
|
||||||
sets.DhtConnectionLimit = 500
|
//sets.DhtConnectionLimit = 500
|
||||||
sets.RetrackersMode = 1
|
sets.RetrackersMode = 1
|
||||||
sets.TorrentDisconnectTimeout = 30
|
sets.TorrentDisconnectTimeout = 30
|
||||||
sets.ReaderReadAHead = 95 // 95% preload
|
sets.ReaderReadAHead = 95 // 95% preload
|
||||||
|
|||||||
Reference in New Issue
Block a user