Interface: IMemoryEntityStorageConnectorConfig
Configuration for the Memory Entity Storage Connector.
Properties
storageKey
storageKey:
string
Key to use for the shared buffer instead of the entity schema type. Use this to give two connectors with the same entitySchema separate storage.
initialCapacityBytes?
optionalinitialCapacityBytes?:number
Initial capacity in bytes for the shared entity buffer.
Default
16 MiB.
maxCapacityBytes?
optionalmaxCapacityBytes?:number
Maximum JSON payload size in bytes for the shared entity buffer.
Default
256 MiB.
mutexTimeoutMs?
optionalmutexTimeoutMs?:number
Maximum milliseconds to wait for the per-directory write lock before throwing.