File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 55# This source code is licensed under the BSD-style license found in the
66# LICENSE file in the root directory of this source tree.
77
8- set -x
9-
10- url=" https://mvnrepository.com/artifact/org.pytorch/executorch-android"
11- request_id=$( curl -sS -H ' Accept: application/json' \
12- " https://check-host.net/check-http?host=$url &max_nodes=1&node=us3.node.check-host.net" \
13- | jq -r .request_id)
14- code=$( curl -sS -H ' Accept: application/json' \
15- " https://check-host.net/check-result/$request_id " \
16- | jq -r ' .[][0][3]' )
17- echo $code
18-
198set -euo pipefail
209
2110status=0
@@ -36,6 +25,7 @@ while IFS=: read -r filepath url; do
3625 request_id=$( curl -sS -H ' Accept: application/json' \
3726 " https://check-host.net/check-http?host=$url &max_nodes=1&node=us3.node.check-host.net" \
3827 | jq -r .request_id)
28+ sleep 5
3929 code=$( curl -sS -H ' Accept: application/json' \
4030 " https://check-host.net/check-result/$request_id " \
4131 | jq -r ' .[][0][3]' )
You can’t perform that action at this time.
0 commit comments