From c6518c103c729ec5c3d9012ee79b9c4c7dbb8eec Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Dec 2024 15:05:59 -0500 Subject: [PATCH] fix(cache) missed setting stat collection, adding back #30670 --- dotCMS/src/main/java/com/dotcms/cache/DynamicTTLCache.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dotCMS/src/main/java/com/dotcms/cache/DynamicTTLCache.java b/dotCMS/src/main/java/com/dotcms/cache/DynamicTTLCache.java index a9c4f29ade68..3966996dc7b9 100644 --- a/dotCMS/src/main/java/com/dotcms/cache/DynamicTTLCache.java +++ b/dotCMS/src/main/java/com/dotcms/cache/DynamicTTLCache.java @@ -47,6 +47,7 @@ public long expireAfterRead(K key, CacheValue value, long currentTime, long curr return currentDuration; } }) + .recordStats() .maximumSize(maxCapacity) .build(); }