Skip to content
From 0.5.0 the packages continue as @cqrs-ddd, documented at aristoteliss.github.io/ddd-cqrs; NestJS applications add @cqrs-ddd/nestjs. This site documents the 0.4.x line.

DEFAULT_BARRIER_TTL_MS

const DEFAULT_BARRIER_TTL_MS: 60000 = 60_000

Defined in: packages/ddd-core/persistence/decorators/cache.decorator.ts:107

Default barrier lifetime: long enough to outlive an in-flight read or write that started before the mutation, short enough that deleted aggregates do not accumulate keys indefinitely.