Upper bound on retry attempts (maxRetries, --max-retries). Without a cap, a
host stuck on 429/503 combined with the linear backoff (retryDelayMs * attempt)
makes the total wait grow quadratically, so a large count would hang the process
for hours. 10 retries is well beyond any realistic transient blip. A larger value
is rejected, not clamped.
Upper bound on retry attempts (
maxRetries,--max-retries). Without a cap, a host stuck on 429/503 combined with the linear backoff (retryDelayMs * attempt) makes the total wait grow quadratically, so a large count would hang the process for hours. 10 retries is well beyond any realistic transient blip. A larger value is rejected, not clamped.