mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-03 14:03:08 +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
e5512754f8
commit
742d0ea0ce
@ -126,7 +126,7 @@ const
|
||||
IpMajorityInterval = 5.minutes ## Interval for checking the latest IP:Port
|
||||
## majority and updating this when SPR auto update is set.
|
||||
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
|
||||
MaxProvidersPerEntry* = 20 # providers per entry
|
||||
ValueReplication = 5 # store a value in this many nodes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user