Skip to content

Not breaking out of for loop when creating postgres pool. #58

@SylteA

Description

@SylteA

API/launch.py

Lines 53 to 59 in 261ecd3

try:
await Model.create_pool(
uri=db_uri,
max_con=10, # We might want to increase this number in the future.
loop=loop,
)

break out of the for loop if we successfully connect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions