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:
Csaba Kiraly 2023-07-08 01:25:02 +02:00
parent 781c2acf2c
commit bf290387de
No known key found for this signature in database
GPG Key ID: 0FE274EE8C95166E

View File

@ -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