mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-22 08:40:03 +01:00
352dc85956
I'm not sure what happened there, but for some reason it was fine with 8088 but I think the right one if 7233.
17 lines
363 B
Bash
Executable File
17 lines
363 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Wait for up to 120 seconds for Temporal to be ready
|
|
SECONDS=0
|
|
TIMEOUT=120
|
|
|
|
# Check Temporal
|
|
while true; do
|
|
curl -s -o /dev/null -I 'http://localhost:7233/' && break || echo 'Checking Temporal status...' && sleep 1
|
|
if [ $SECONDS -gt $TIMEOUT ]; then
|
|
echo "Timeout waiting for Temporal to be ready"
|
|
exit 1
|
|
fi
|
|
done
|