]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Raise socketsPerTorrent to 80
authorMatt Joiner <anacrolix@gmail.com>
Mon, 29 Jun 2015 14:46:43 +0000 (00:46 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 29 Jun 2015 14:46:43 +0000 (00:46 +1000)
client.go

index 3128ca825a569868c59da8971b8d33aa05d9e68b..5a8b56e98a81914ea8a69b03edb74ae77807194a 100644 (file)
--- a/client.go
+++ b/client.go
@@ -84,7 +84,7 @@ const (
        //   Disabled until AllowedFast is implemented
        defaultExtensionBytes = "\x00\x00\x00\x00\x00\x10\x00\x01"
 
-       socketsPerTorrent     = 40
+       socketsPerTorrent     = 80
        torrentPeersHighWater = 200
        torrentPeersLowWater  = 50