From c27555d0b07e5b44d8133018fe64ca1465e18c1d Mon Sep 17 00:00:00 2001 From: CCristi Date: Tue, 25 Jun 2024 11:27:06 +0200 Subject: [PATCH] chore: Use 100 items in LRU cache instead --- packages/explorerkit-server/src/core/cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/explorerkit-server/src/core/cache.ts b/packages/explorerkit-server/src/core/cache.ts index f26f21c..f8de01d 100644 --- a/packages/explorerkit-server/src/core/cache.ts +++ b/packages/explorerkit-server/src/core/cache.ts @@ -6,7 +6,7 @@ import { register } from "@/components/metrics"; import { config } from "@/core/config"; import { onTeardown } from "@/utils/teardown"; -const LRU_CACHE_MAX_ITEMS_COUNT = 1000; +const LRU_CACHE_MAX_ITEMS_COUNT = 100; type CacheMetricGauges = { redisHits: Gauge;