We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b600bfe commit d07f3e7Copy full SHA for d07f3e7
services/help.sh
@@ -41,7 +41,13 @@ aws_get_command() {
41
fi
42
43
if [ ! -s "${cache_file}" ]; then
44
- curl -s "${aws_cli_document_root_url}/${curl_path}" |
+ curl -s \
45
+ --connect-timeout 5 \
46
+ --max-time 10 \
47
+ --retry 5 \
48
+ --retry-delay 0 \
49
+ --retry-max-time 40 \
50
+ "${aws_cli_document_root_url}/${curl_path}" |
51
grep '<li class="toctree-l1"><a class="reference internal"' |
52
awk -F '.html">' '{print $2}' |
53
awk -F '</a>' '{print $1}' >${cache_file}
0 commit comments