Commit 86ff6963 authored by Wes Cilldhaire's avatar Wes Cilldhaire 💻
Browse files

Bump cache expiry to 1/2 current dashboard refresh rate + 1s (16s). Bump group size to 20mb.

(nb: these values probably require tuning and will be read from external config after experimentation)
parent 38421fe6
......@@ -73,10 +73,10 @@ func main() {
}
if config.CacheExpiryDurationSeconds == 0 {
config.CacheExpiryDurationSeconds = 10
config.CacheExpiryDurationSeconds = 16
}
if config.CacheSizeBytes == 0 {
config.CacheSizeBytes = 1048576
config.CacheSizeBytes = 20971520
}
initialiseIcingaCaches()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment