Skip to content

Commit

Permalink
indexer-service: remove LRU max length
Browse files Browse the repository at this point in the history
  • Loading branch information
dwerner committed Aug 26, 2024
1 parent ed18006 commit 4c1fb8c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/indexer-service/src/allocations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ export const ensureAttestationSigners = ({
}: EnsureAttestationSignersOptions): Eventual<AttestationSignerMap> => {
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`)
Expand Down

0 comments on commit 4c1fb8c

Please sign in to comment.