adjust the default max_connections_per_download and peer_connect_timeout
This commit is contained in:
parent
c31efd780b
commit
db1d547b19
1 changed files with 2 additions and 2 deletions
|
@ -480,7 +480,7 @@ class Config(CLIConfig):
|
||||||
# protocol timeouts
|
# protocol timeouts
|
||||||
download_timeout = Float("Cumulative timeout for a stream to begin downloading before giving up", 30.0)
|
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)
|
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)
|
node_rpc_timeout = Float("Timeout when making a DHT request", constants.rpc_timeout)
|
||||||
|
|
||||||
# blob announcement and download
|
# blob announcement and download
|
||||||
|
@ -495,7 +495,7 @@ class Config(CLIConfig):
|
||||||
previous_names=['concurrent_announcers']
|
previous_names=['concurrent_announcers']
|
||||||
)
|
)
|
||||||
max_connections_per_download = Integer(
|
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']
|
previous_names=['max_connections_per_stream']
|
||||||
)
|
)
|
||||||
fixed_peer_delay = Float(
|
fixed_peer_delay = Float(
|
||||||
|
|
Loading…
Reference in a new issue