From 4c1fb8c2be83d73aef300c597cb5f18d1c7fa3a7 Mon Sep 17 00:00:00 2001 From: Daniel Werner Date: Mon, 26 Aug 2024 10:07:36 -0700 Subject: [PATCH] indexer-service: remove LRU max length --- packages/indexer-service/src/allocations.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/indexer-service/src/allocations.ts b/packages/indexer-service/src/allocations.ts index 7dad94337..5b6deabfe 100644 --- a/packages/indexer-service/src/allocations.ts +++ b/packages/indexer-service/src/allocations.ts @@ -36,9 +36,7 @@ export const ensureAttestationSigners = ({ }: EnsureAttestationSignersOptions): Eventual => { const logger = parentLogger.child({ component: 'AttestationSignerCache' }) - const cache: AttestationSignerCache = new LRUCache(null, { - maxlen: 20000, - }) + const cache: AttestationSignerCache = new LRUCache() const signers = allocations.map(async allocations => { logger.info(`Update attestation signers`)