clkao / docker-postgres-plv8

Docker image postgres with plv8
https://registry.hub.docker.com/u/clkao/postgres-plv8/
MIT License
45 stars 36 forks source link

Prevent unlimited timeout while connecting to DB in CI #40

Closed GradedJestRisk closed 3 years ago

GradedJestRisk commented 3 years ago

A previous failing CI went so far as as 10 hours trying to connect to a stopped container :scream: :earth_africa:

The script use pg_isreadyand a infinite loop. A pg_isready option, timeout would do the job nicely. I set the timeout to a minute.

Note: after PR #40 is merged, CI will go green so now is a great time to test this feature :smile: