Skip to content

Type Alias: CreateLruCacheAdapterOptions

CreateLruCacheAdapterOptions = object

Defined in: adapters/cache/lru.ts:5

optional maxEntries?: number

Defined in: adapters/cache/lru.ts:7

Maximum number of snapshots to retain in memory


optional resetTtlOnSet?: boolean

Defined in: adapters/cache/lru.ts:13

Reset TTL when setting an existing key


optional ttlMs?: number

Defined in: adapters/cache/lru.ts:10

Optional TTL in milliseconds. 0 disables expiration.