FilesystemObjectStorageOptionsType
Esta página aún no está disponible en tu idioma.
FilesystemObjectStorageOptionsType =
object
Defined in: src/persistence/object-storage/FilesystemObjectStorageOptions.ts:9
Properties
Section titled “Properties”
readonlydir:string
Defined in: src/persistence/object-storage/FilesystemObjectStorageOptions.ts:11
Root directory. Will be created (recursively) if it doesn’t exist.
lockTimeoutMs?
Section titled “lockTimeoutMs?”
readonlyoptionallockTimeoutMs?: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.
staleLockMs?
Section titled “staleLockMs?”
readonlyoptionalstaleLockMs?: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.
