Skip to content

Commit

Permalink
Increase healthcheck intervals to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Apr 13, 2021
1 parent 0d7cc4e commit c825086
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/prefect/cli/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
# Use `pg_isready` to check the connection status of the PostgreSQL server
healthcheck:
test: pg_isready -q -d $${POSTGRES_DB} -U $${POSTGRES_USER} || exit 1
interval: 1s
interval: 10s
timeout: 2s
retries: 60
start_period: 2s
Expand All @@ -49,7 +49,7 @@ services:
# /healthz endpoints returns OK when not unhealthy
healthcheck:
test: wget -O - http://hasura:$${HASURA_GRAPHQL_SERVER_PORT}/healthz &>/dev/null || exit 1
interval: 1s
interval: 10s
timeout: 2s
retries: 60
start_period: 1s
Expand All @@ -73,7 +73,7 @@ services:
- prefect-server
healthcheck:
test: curl --fail --silent "http://graphql:4201/health" &> /dev/null || exit 1
interval: 1s
interval: 10s
timeout: 2s
retries: 60
start_period: 1s
Expand Down Expand Up @@ -112,7 +112,7 @@ services:
# Test GraphQL Apollo endpoint as health-check
healthcheck:
test: curl --fail --silent "http://apollo:4200/.well-known/apollo/server-health" &> /dev/null || exit 1
interval: 1s
interval: 10s
timeout: 2s
retries: 60
start_period: 1s
Expand Down

0 comments on commit c825086

Please sign in to comment.