Member Junction
    Preparing search index...

    Interface StartupOptions

    Options for StartupManager.Startup(). All fields optional; omitted ⇒ 'full' mode with no filter, i.e. pre-change behavior.

    interface StartupOptions {
        cacheManagerConfig?: Partial<LocalCacheManagerConfig>;
        engineFilter?: (reg: StartupRegistration) => boolean;
        mode?: StartupMode;
        warmupLeaseMs?: number;
    }
    Index

    Properties

    cacheManagerConfig?: Partial<LocalCacheManagerConfig>

    Settings for LocalCacheManager. Applied whether or not startup is the first to initialize it — a database provider initializes the manager from inside its own Config(), so these settings usually arrive second and are merged on top (see LocalCacheManager.Initialize).

    engineFilter?: (reg: StartupRegistration) => boolean

    Internal seam for future profiles/per-engine knobs: when provided (and mode is 'full'), only registrations passing the predicate execute. Not surfaced in user-facing configuration.

    Which startup profile to run. Defaults to 'full'. Resolve via ResolveStartupMode() so the env-var/config precedence chain behaves identically across entry points.

    warmupLeaseMs?: number

    On a shared cache, servers starting at the same time load their engines one after another so only the first reads the database; the others find the cache warm (plan: cold-start herd). This is how long one server may hold the turn, in milliseconds, and how long the others wait for it. 0 turns the coordination off. Default: 30000.