European Parliament MCP Server API - v1.3.10
    Preparing search index...

    Function resolveLifecycleWarmupIntervalMs

    • Resolve the lifecycle warmup interval from the environment, falling back to DEFAULT_LIFECYCLE_WARMUP_INTERVAL_MS when the variable is unset, empty, or not a finite positive integer.

      Successfully parsed values are clamped to [LIFECYCLE_WARMUP_MIN_INTERVAL_MS, LIFECYCLE_WARMUP_MAX_INTERVAL_MS] to defend against pathological configuration (e.g. a 1 ms interval that would melt the rate-limit budget).

      Parameters

      • env: ProcessEnv = process.env

        Environment map (defaults to process.env); injected for tests.

      Returns number

      Effective warmup interval in milliseconds.

      Input validation per ISMS SC-002 — environment values are parsed and clamped before they influence scheduler behaviour.

      0.9.0