feat: Add worker retry mechanic for database connection #25
Replies: 1 comment 1 reply
-
The comment here is directly related to this one too: #24 (comment) The current solution is to use In Or, maybe this is just a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
When using the worker process defined in
pyproject.toml
like below, it sometimes boots before the database is ready.Resulting in an error like:
Proposed solution
Giving the worker a (limited) retry mechanic, for example with tenacity, would greatly improve the reliability of booting.
Beta Was this translation helpful? Give feedback.
All reactions