LogoRobo.js
Framework

IndexPersistenceOptions

Interface: IndexPersistenceOptions

Options for the IndexPersistenceManager.

Properties

PropertyTypeDescription
batchSize?numberMaximum dirty entries before forcing a flush (for batched strategy)
flushOnShutdown?booleanWhether to flush on process shutdown
intervalMs?numberInterval for periodic flush in milliseconds
maxInMemoryRecords?numberMaximum records to hold in memory
memoryLimit?numberMaximum memory for indexes in bytes
shutdownTimeout?numberMaximum time to wait for flush on shutdown (ms)
strategy?"immediate" | "batched" | "periodic"Persistence strategy: immediate, batched, or periodic

On this page