Skip to content

Use a new connection for each celery task

Hugo Kerstens requested to merge 693-celery-mysql-connection into master

Closes #693 (closed).

This MR:

  • Disposes the active connection for each celery task, forcing it to get a new one. This change makes the celery tasks thread-safe.
  • Bumps sqlalchemy to 1.4.33 to ensure the Engine.dispose.close parameter is available.

Merge request reports