Ir al contenido
Español

FilesystemObjectStorageOptionsType

Esta página aún no está disponible en tu idioma.

FilesystemObjectStorageOptionsType = object

Defined in: src/persistence/object-storage/FilesystemObjectStorageOptions.ts:9

readonly dir: string

Defined in: src/persistence/object-storage/FilesystemObjectStorageOptions.ts:11

Root directory. Will be created (recursively) if it doesn’t exist.


readonly optional lockTimeoutMs?: number

Defined in: src/persistence/object-storage/FilesystemObjectStorageOptions.ts:18

How long to wait when contending for a per-key write lock before giving up with ObjectStorageBackendError. Default 5_000 ms — long enough that legitimate contenders complete first, short enough that a stuck holder gets surfaced quickly.


readonly optional staleLockMs?: number

Defined in: src/persistence/object-storage/FilesystemObjectStorageOptions.ts:25

Lock files older than this are assumed stale (left behind by a crashed writer) and forcibly removed. Default 30_000 ms — well above the expected duration of any single put, so legitimate writers never get their lock yanked.