forked from LBRYCommunity/lbry-sdk
add fixed_peer_delay setting
This commit is contained in:
parent
fcda9500fe
commit
16efe9ba95
1 changed files with 4 additions and 0 deletions
|
@ -492,6 +492,10 @@ class Config(CLIConfig):
|
||||||
"Maximum number of peers to connect to while downloading a blob", 5,
|
"Maximum number of peers to connect to while downloading a blob", 5,
|
||||||
previous_names=['max_connections_per_stream']
|
previous_names=['max_connections_per_stream']
|
||||||
)
|
)
|
||||||
|
fixed_peer_delay = Float(
|
||||||
|
"Amount of seconds before adding the reflector servers as potential peers to download from in case dht"
|
||||||
|
"peers are not found or are slow", 2.0
|
||||||
|
)
|
||||||
max_key_fee = MaxKeyFee(
|
max_key_fee = MaxKeyFee(
|
||||||
"Don't download streams with fees exceeding this amount", {'currency': 'USD', 'amount': 50.0}
|
"Don't download streams with fees exceeding this amount", {'currency': 'USD', 'amount': 50.0}
|
||||||
) # TODO: use this
|
) # TODO: use this
|
||||||
|
|
Loading…
Add table
Reference in a new issue