pub fn resolve_timeout_ms(env_var: &str, default_ms: u64) -> u64Expand description
Resolve a timeout in milliseconds from the named env var.
Returns default_ms when the env var is unset, empty, non-numeric, or 0.
Pure function — exposed so callers (and contract tests) can verify the
resolution policy without constructing a client.