mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-02-12 20:06:48 +00:00
reduce default response timeout
We really don't need this to be 4 seconds. Later we should tune it better based on measurements or estimates, Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
781c2acf2c
commit
bf290387de
@ -126,7 +126,7 @@ const
|
|||||||
IpMajorityInterval = 5.minutes ## Interval for checking the latest IP:Port
|
IpMajorityInterval = 5.minutes ## Interval for checking the latest IP:Port
|
||||||
## majority and updating this when SPR auto update is set.
|
## majority and updating this when SPR auto update is set.
|
||||||
InitialLookups = 1 ## Amount of lookups done when populating the routing table
|
InitialLookups = 1 ## Amount of lookups done when populating the routing table
|
||||||
ResponseTimeout* = 4.seconds ## timeout for the response of a request-response
|
ResponseTimeout* = 500.milliseconds ## timeout for the response of a request-response
|
||||||
MaxProvidersEntries* = 1_000_000 # one million records
|
MaxProvidersEntries* = 1_000_000 # one million records
|
||||||
MaxProvidersPerEntry* = 20 # providers per entry
|
MaxProvidersPerEntry* = 20 # providers per entry
|
||||||
ValueReplication = 5 # store a value in this many nodes
|
ValueReplication = 5 # store a value in this many nodes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user