diff options
| author | MarcoFalke <[email protected]> | 2018-12-11 13:43:18 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-12-11 13:43:20 -0500 |
| commit | d680ef9381b436b54e5e8000c740ead83327110d (patch) | |
| tree | c736e9e5092cf8eef25993816eb7935f88c757f5 /src/httpserver.cpp | |
| parent | Merge #14877: rpc: Document default values for optional arguments (diff) | |
| parent | add `--retry 5` to curl opts in install_db4.sh (diff) | |
| download | discoin-d680ef9381b436b54e5e8000c740ead83327110d.tar.xz discoin-d680ef9381b436b54e5e8000c740ead83327110d.zip | |
Merge #14883: add `--retry 5` to curl opts in install_db4.sh
522b80b33f add `--retry 5` to curl opts in install_db4.sh (qubenix)
Pull request description:
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.
Tree-SHA512: ff48e1f8a9d39b9c6fabc616223974f46fadc5a1b30793cdaaf5ea4ce79f7c76efd259bfa9e81a5a7a7cff60b7133d89448faa3f86cc2f9b0c5ac9adf8dd2a9b
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions