periodically purge lookup cache of expired entries

closes #24
This commit is contained in:
Trolli Schmittlauch 2020-07-16 00:24:44 +02:00
parent 0ea5402231
commit ebc0d54ddc
3 changed files with 71 additions and 4 deletions

View file

@ -51,4 +51,5 @@ readConfig = do
, confBootstrapNodes = [(bootstrapHost, read bootstrapPortString)]
--, confStabiliseInterval = 60
, confBootstrapSamplingInterval = 180
, confMaxLookupCacheAge = 300
}