Skip to main content

WGET

Constant WGET 

Source
pub const WGET: &str = "wget -q --tries=10 --retry-connrefused --retry-on-http-error=404,408,429,500,502,503,504 --waitretry=5";
Expand description

Common wget prefix with retry settings for S3 downloads

Retries on connection failures and HTTP errors:

  • 404: Not Found (S3 eventual consistency)
  • 408: Request Timeout
  • 429: Too Many Requests (rate limiting)
  • 500: Internal Server Error
  • 502: Bad Gateway
  • 503: Service Unavailable
  • 504: Gateway Timeout