(key, fallback)
| 3 | // Groups: network, solidify, evolution, ops, limits. |
| 4 | |
| 5 | function envInt(key, fallback) { |
| 6 | const v = process.env[key]; |
| 7 | if (v === undefined || v === '') return fallback; |
| 8 | const n = parseInt(v, 10); |
| 9 | return isNaN(n) ? fallback : n; |
| 10 | } |
| 11 | |
| 12 | // Strict variant for timing / timeout / interval values that must be |
| 13 | // positive. Rejects: NaN (e.g. "5min" silently parses to 5 -- here 5 is |
no outgoing calls
no test coverage detected