fastapi_asyncpg icon indicating copy to clipboard operation
fastapi_asyncpg copied to clipboard

Add option for connection retry x number of times and after waiting y number of seconds

Open abhijitgujar86 opened this issue 3 years ago • 0 comments

it will be helpful if somehow the db connection is lost or was not possible . When using docker fastapi is ready before postgres although there are some solutions out there they are external it will be much better if we have internal solution. external solution are dependencies and in docker-compose there are many changes and there are many repos trying to solve it externally .

https://stackoverflow.com/questions/35069027/docker-wait-for-postgresql-to-be-running

abhijitgujar86 avatar Dec 06 '21 19:12 abhijitgujar86