You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Jacob Weinhold
committed
fix(capture): an override set to empty is an intent, not an absence
Review round 3 (P3). `if (!raw)` folded a SET-but-empty VEXA_CSRC_INACTIVE_MS
into "not set" and fell back in silence — which is exactly the ignored-knob
failure the previous commit's warning exists to prevent, and an empty value is
what a half-rendered deploy template looks like. Only `undefined` is an absence
now; everything else that cannot be honoured says so.
The default also stops being written three times; the fallback, the message and
the constant cannot drift apart any more.
Refs #150
Signed-off-by: Jacob Weinhold <jacob@philflow.io>
warn(`[bot] VEXA_CSRC_INACTIVE_MS=${JSON.stringify(raw)} is not a usable window (finite, >= ${CSRC_MIN_INACTIVE_MS}ms) — using the measured ${CSRC_DEFAULT_INACTIVE_MS}ms`);
0 commit comments