remove AnnTorrentsToDht opt

have issues on disable
This commit is contained in:
nikk gitanes
2021-08-09 01:37:43 +03:00
parent 6af78cf041
commit 97fa9fdd4e
4 changed files with 1 additions and 11 deletions

View File

@@ -29,7 +29,6 @@ type BTSets struct {
// BT Config
AcceptPeerCon bool `default:"true"`
AnnTorrentsToDht bool `default:"true"`
EnableIPv6 bool
DisableTCP bool
DisableUTP bool
@@ -122,7 +121,6 @@ func loadBTSets() {
func SetDefault() {
sets := new(BTSets)
sets.AcceptPeerCon = true
sets.AnnTorrentsToDht = true
sets.EnableDebug = false
sets.DisableUTP = true
sets.CacheSize = 96 * 1024 * 1024 // 96 MB