From 6e43db6a89fbc03b80ebc8b7c31cf50f1165c6a9 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Mon, 21 Dec 2020 13:57:59 +1100 Subject: [PATCH] Document ClientConfig.DisableAcceptRateLimiting --- config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.go b/config.go index afc43469..f4c0f172 100644 --- a/config.go +++ b/config.go @@ -118,6 +118,8 @@ type ClientConfig struct { PublicIp4 net.IP PublicIp6 net.IP + // Accept rate limiting affects excessive connection attempts from IPs that fail during + // handshakes or request torrents that we don't have. DisableAcceptRateLimiting bool // Don't add connections that have the same peer ID as an existing // connection for a given Torrent. -- 2.44.0