LogoRobo.js
Framework

DEFAULT INDEX PERSISTENCE SETTINGS

Variable: DEFAULT_INDEX_PERSISTENCE_SETTINGS

const DEFAULT_INDEX_PERSISTENCE_SETTINGS: {
  flushOnShutdown: true;
  intervalMs: 0;
  shutdownTimeout: 5000;
};

Default index persistence settings.

Type declaration

NameTypeDefault valueDescription
flushOnShutdowntruetrueWhether to flush indexes on process shutdown.
intervalMs00Interval for periodic index persistence (ms). 0 = disabled.
shutdownTimeout50005_000Maximum time to wait for index flush on shutdown (ms).

On this page