mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-05 03:38:12 +08:00
This fixes #93. See that issue for a description of the problem. This change will create a new session for every event handled by the backend and will force a commit and close the session at the end of each message. For bonus points, we should employ the ZopeTransactionManager extension in the future, but I'm not sure how it will play with the flask_sqlalchemy extension. Will check on that later.