]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Raise default torrent peers highwater to 500
authorMatt Joiner <anacrolix@gmail.com>
Thu, 8 Feb 2018 12:52:54 +0000 (23:52 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 8 Feb 2018 12:52:54 +0000 (23:52 +1100)
config.go

index a8933abaaaeca943cfe55d98a3ea03d55d2b64aa..b02f1af7c34cef138f9180a744fe3a9136c3a157 100644 (file)
--- a/config.go
+++ b/config.go
@@ -134,7 +134,7 @@ func (cfg *Config) setDefaults() {
                cfg.HalfOpenConnsPerTorrent = 80
        }
        if cfg.TorrentPeersHighWater == 0 {
-               cfg.TorrentPeersHighWater = 200
+               cfg.TorrentPeersHighWater = 500
        }
        if cfg.TorrentPeersLowWater == 0 {
                cfg.TorrentPeersLowWater = 50