This commit is contained in:
YouROK
2020-11-30 23:04:49 +03:00
parent f1aa7858f2
commit 0569ade7b8
7 changed files with 35 additions and 30 deletions

View File

@@ -24,7 +24,6 @@ type BTSets struct {
DisableUPNP bool
DisableDHT bool
DisableUpload bool
Encryption int // ???? 0 - Enable, 1 - disable, 2 - force
DownloadRateLimit int // in kb, 0 - inf
UploadRateLimit int // in kb, 0 - inf
ConnectionsLimit int
@@ -66,7 +65,7 @@ func loadBTSets() {
sets := new(BTSets)
sets.EnableDebug = false
sets.DisableUTP = true
sets.CacheSize = 200 * 1024 * 1024 // 200mb
sets.PreloadBufferSize = 20 * 1024 * 1024
sets.ConnectionsLimit = 20