scale request timeout with speedup and pass it directly to function
This commit is contained in:
parent
4f08d33d2e
commit
c9b0e66110
4 changed files with 32 additions and 28 deletions
|
@ -65,6 +65,8 @@ readConfig = do
|
|||
, confJoinAttemptsInterval = 60 * 10^6 `div` speedup
|
||||
, confMaxNodeCacheAge = 600 / fromIntegral speedup
|
||||
, confResponsePurgeAge = 60 / fromIntegral speedup
|
||||
, confRequestTimeout = 5 * 10^6 `div` speedup
|
||||
, confRequestRetries = 3
|
||||
}
|
||||
sConf = ServiceConf {
|
||||
confSubscriptionExpiryTime = fromIntegral $ 2*3600 `div` speedup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue