minca
ApiCoreInterfaces

Interface: MirrorConfig

Defined in: packages/core/src/storage/mirror.ts:49

Properties

PropertyModifierTypeDescriptionDefined in
acceptreadonly(version) => Promise<Taken>The gates sync uses, and storing what passes: nothing from the store is trusted more than a peerpackages/core/src/storage/mirror.ts:54
compactAt?readonlynumberRewrite this writer's segments once it has this many. Default 32.packages/core/src/storage/mirror.ts:66
flushBytes?readonlynumberPack a segment once this much is waiting. Default 256 KiB.packages/core/src/storage/mirror.ts:62
flushMs?readonlynumberOr this long after the first change. Default 5 s.packages/core/src/storage/mirror.ts:64
spacereadonlystring-packages/core/src/storage/mirror.ts:51
statereadonlyStorageAdapterWhere this writer keeps its id, what it read and what it knows the store holds. Never in the blob store: two devices sharing one id would each skip the other's segments as their own.packages/core/src/storage/mirror.ts:60
storagereadonlyStorageProvider-packages/core/src/storage/mirror.ts:52
storereadonlyBlobStore-packages/core/src/storage/mirror.ts:50

On this page