From db1d547b197776140029f9213baaa1a471e46752 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Wed, 24 Apr 2019 08:44:33 -0400 Subject: [PATCH] adjust the default max_connections_per_download and peer_connect_timeout --- lbrynet/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/conf.py b/lbrynet/conf.py index 0e80ed74a..1d470b57c 100644 --- a/lbrynet/conf.py +++ b/lbrynet/conf.py @@ -480,7 +480,7 @@ class Config(CLIConfig): # protocol timeouts download_timeout = Float("Cumulative timeout for a stream to begin downloading before giving up", 30.0) blob_download_timeout = Float("Timeout to download a blob from a peer", 30.0) - peer_connect_timeout = Float("Timeout to establish a TCP connection to a peer", 2.0) + peer_connect_timeout = Float("Timeout to establish a TCP connection to a peer", 3.0) node_rpc_timeout = Float("Timeout when making a DHT request", constants.rpc_timeout) # blob announcement and download @@ -495,7 +495,7 @@ class Config(CLIConfig): previous_names=['concurrent_announcers'] ) max_connections_per_download = Integer( - "Maximum number of peers to connect to while downloading a blob", 8, + "Maximum number of peers to connect to while downloading a blob", 4, previous_names=['max_connections_per_stream'] ) fixed_peer_delay = Float(