DopplerHQ / cli

The official CLI for interacting with your Doppler secrets and configuration.
https://docs.doppler.com
Apache License 2.0
221 stars 44 forks source link

ENG-4848: Make HTTP request attempts configurable #328

Closed watsonian closed 2 years ago

watsonian commented 2 years ago

By default, the CLI has a 10 second timeout (configurable with --timeout) and will make 5 attempts (not configurable). This change makes the attempt count configurable, while continuing to default to the same number we did previously by adding the --attempts flag.

Some potential examples:

doppler secrets download --attempts 3
doppler run --timeout 3s --attempts 3 -- $COMMAND