From 810e3df08c64308bfc7497df897be115cda24389 Mon Sep 17 00:00:00 2001 From: Kiran Prakash Date: Tue, 12 Mar 2024 13:38:30 -0700 Subject: [PATCH] remove cleanupkeys Signed-off-by: Kiran Prakash --- .../main/java/org/opensearch/indices/IndicesRequestCache.java | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/indices/IndicesRequestCache.java b/server/src/main/java/org/opensearch/indices/IndicesRequestCache.java index 700841d16e313..40852c4f8fdb7 100644 --- a/server/src/main/java/org/opensearch/indices/IndicesRequestCache.java +++ b/server/src/main/java/org/opensearch/indices/IndicesRequestCache.java @@ -140,7 +140,6 @@ public final class IndicesRequestCache extends AbstractLifecycleComponent private final static long BASE_RAM_BYTES_USED = RamUsageEstimator.shallowSizeOfInstance(Key.class); private final ConcurrentMap registeredClosedListeners = ConcurrentCollections.newConcurrentMap(); - private final Set keysToClean = ConcurrentCollections.newConcurrentSet(); private final ByteSizeValue size; private final TimeValue expire; private final ICache cache;