Skip to content

Bugs in the AsyncPostgresDB initialization retry logic #439

Open
@fumoboy007

Description

@fumoboy007

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions