Gitlab Community Edition Instance

Commit ec05b443 authored by mhellka's avatar mhellka
Browse files

Enable cache statistics for NioPool

parent 2dacdd52
Pipeline #115831 passed with stages
in 8 minutes and 42 seconds
......@@ -101,6 +101,7 @@ public class NioPool implements StoragePool {
.maximumSize(cacheSize)
// Allow GC to shrink the heap during idle hours.
.expireAfterAccess(60, TimeUnit.SECONDS)
.recordStats() // This has a (small) performance impact
.build(this::loadFromDisk);
}
......
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