mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Update entrypoint.sh
This commit is contained in:
parent
f9faadcfee
commit
2d34d46b28
@ -15,11 +15,11 @@ fi
|
|||||||
# current curl version options.
|
# current curl version options.
|
||||||
function curl_with_retry
|
function curl_with_retry
|
||||||
{
|
{
|
||||||
for _ in 1 2 3 4; do
|
for _ in 1 2 3 4 5 6 7 8 9 10; do
|
||||||
if curl --fail --head "$1";then
|
if curl --fail --head "$1";then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
sleep 0.5
|
sleep 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user