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.
Security
Input validation per ISMS SC-002 — environment values are
parsed and clamped before they influence scheduler behaviour.
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).