metaflow-service
metaflow-service copied to clipboard
Bugs in the `AsyncPostgresDB` initialization retry logic
AsyncPostgresDB initializes a PostgreSQL connection pool. It has retry logic to handle initialization failures; however, there are a couple bugs in that logic:
- Does not raise the exception when initialization fails.
- Creates the connection pool multiple times even if it was already successful.