add `--retry 5` to curl opts in install_db4.sh #14883

pull qubenix wants to merge 1 commits into bitcoin:master from qubenix:qubenix-curl-retry changing 1 files +1 −1
  1. qubenix commented at 2:17 PM on December 6, 2018: contributor

    I ran into some network issue that caused the clang patch to not download and the script exited. A retry would have solved it. The fallback choice, wget, has a default 20 retries.

    I chose 5 retries because curl backs of after each try, starting at one second and doubling each time. 5 retries means that worst case scenario would be a total of 31 seconds waiting between attempts. IMO that should be enough tries if internet is working, but not too much if internet is not working.

  2. add `--retry 5` to curl opts in install_db4.sh 522b80b33f
  3. practicalswift commented at 2:59 PM on December 6, 2018: contributor

    utACK 522b80b33f3d775a3ecd5abb8ad8bf8a04906ece

    Neat first-time contribution. Welcome as a contributor! :-)

  4. MarcoFalke added the label Build system on Dec 6, 2018
  5. MarcoFalke added the label Scripts and tools on Dec 6, 2018
  6. laanwj commented at 5:42 PM on December 11, 2018: member

    utACK 522b80b33f3d775a3ecd5abb8ad8bf8a04906ece

  7. MarcoFalke merged this on Dec 11, 2018
  8. MarcoFalke closed this on Dec 11, 2018

  9. MarcoFalke referenced this in commit d680ef9381 on Dec 11, 2018
  10. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-29 03:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me