콘텐츠로 이동
한국어

CachedSnapshotStoreOptionsType

이 콘텐츠는 아직 번역되지 않았습니다.

CachedSnapshotStoreOptionsType = object

Defined in: src/persistence/snapshot-stores/CachedSnapshotStoreOptions.ts:13

readonly cache: Cache

Defined in: src/persistence/snapshot-stores/CachedSnapshotStoreOptions.ts:15

Backing cache — typically Redis in production.


readonly optional keyPrefix?: string

Defined in: src/persistence/snapshot-stores/CachedSnapshotStoreOptions.ts:19

Key prefix (default: 'snap:') prevents collisions in shared caches.


readonly optional ttlMs?: number

Defined in: src/persistence/snapshot-stores/CachedSnapshotStoreOptions.ts:17

Cache TTL in milliseconds. Default: 5 minutes.