-
|
I'd like to be able to retry connecting after several seconds when I init_app to my database in case it's not accepting connections. I've another project I'm using pure sqlalchemy and in a I've looked through the documentation and can't find a way to do this through the package. Could someone point me in the right direction please? |
Beta Was this translation helpful? Give feedback.
Answered by
davidism
Feb 2, 2026
Replies: 1 comment 8 replies
-
|
Why can't you use the except that you've shown? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The traceback shows that it's happening around
db.create_all(), so that's where you'd put the except block.