Thanks to visit codestin.com Credit goes to github.com
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 8c8344c commit 5e22530Copy full SHA for 5e22530
scripts/develop.sh
@@ -96,7 +96,7 @@ fatal() {
96
start_cmd "${CODER_DEV_SHIM}" server --address 0.0.0.0:3000
97
98
echo '== Waiting for Coder to become ready'
99
- curl --silent --fail --connect-timeout 1 --max-time 1 --retry 60 --retry-delay 1 --retry-max-time 60 --retry-all-errors 'http://localhost:3000/healthz' ||
+ timeout 60s bash -c 'until curl -s --fail http://localhost:3000/healthz > /dev/null 2>&1; do sleep 0.5; done' ||
100
fatal 'Coder did not become ready in time'
101
102
# Check if credentials are already set up to avoid setting up again.
0 commit comments