Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SylteA opened this issue Sep 13, 2021 · 0 comments
Open

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

SylteA opened this issue Sep 13, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@SylteA
Copy link
Member

SylteA commented Sep 13, 2021

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.

@SylteA SylteA added the good first issue Good for newcomers label Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant