remove unused

This commit is contained in:
nikk gitanes
2021-07-20 13:46:25 +03:00
parent 4e8e119776
commit bdb36db941

View File

@@ -28,8 +28,6 @@ type BTSets struct {
EnableDebug bool // print logs
// BT Config
AcceptPeerCon bool `default:"true"`
AnnTorrentsToDht bool `default:"true"`
EnableIPv6 bool
DisableTCP bool
DisableUTP bool
@@ -126,7 +124,7 @@ func SetDefault() {
sets.CacheSize = 96 * 1024 * 1024 // 96 MB
sets.PreloadCache = 0
sets.ConnectionsLimit = 23
sets.DhtConnectionLimit = 500
//sets.DhtConnectionLimit = 500
sets.RetrackersMode = 1
sets.TorrentDisconnectTimeout = 30
sets.ReaderReadAHead = 95 // 95% preload