(raw: string | undefined)
| 316 | } |
| 317 | |
| 318 | function parseMaxWaitMs(raw: string | undefined): number { |
| 319 | const n = parseNumericFlag(raw, { flag: "--max-wait", min: 0.0001 }); |
| 320 | return n === undefined ? DEFAULT_MAX_WAIT_MS : Math.round(n * 60_000); |
| 321 | } |
| 322 | |
| 323 | const IDEMPOTENCY_KEY_RE = /^[A-Za-z0-9_:.-]{1,255}$/; |
| 324 |
no test coverage detected