drupflare/worker - v1.0.4
    Preparing search index...

    Function warmDecision

    • Whether to re-arm, and why.

      forced is the operator's own SITE_WARM, which this never overrides in either direction.

      Parameters

      • arrivals: readonly Arrival[]
      • nowMs: number
      • opts: {
            forced?: boolean;
            lastAuthenticatedAt?: number;
            stored?: RenderWindow;
            thresholdMs: number;
            windowMs?: number;
        } = ...
        • Optionalforced?: boolean
        • OptionallastAuthenticatedAt?: number
        • Optionalstored?: RenderWindow

          what survived the last hibernation; without it the ring is empty on every wake

        • thresholdMs: number
        • OptionalwindowMs?: number

      Returns WarmDecision