You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently, each worker process has its own sql connection with thread checking enabled (but connection shared beyond that). While this works most of the time, during the git update cycle a new thread is created, violating the same-thread constraint.
This needs to be fixed on two levels:
if an update fails, the git repo needs to be rolled back so it can be attempted again
The git update thread needs its own connection. (And in general database.py should probably be rewritten)
To Reproduce
Steps to reproduce the behavior:
Run in production mode
Induce a git update
Expected behavior
Git update to happen, regardless of failure
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently, each worker process has its own sql connection with thread checking enabled (but connection shared beyond that). While this works most of the time, during the git update cycle a new thread is created, violating the same-thread constraint.
This needs to be fixed on two levels:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Git update to happen, regardless of failure
The text was updated successfully, but these errors were encountered: