Changeset - 3b1b440b5082
default
0
2
0
Grafted from: 1a1e2da7485c
celery: use the proper configured global app for scheduling and retrieving tasks
193138922d56 broke celery, due to magic dependencies on initialization and
setting global configuration at import time.
Instead, always use the correctly configured global Celery app, both when
creating tasks and checking result status.
This has been tested to work on Python 3.6 - for example for sending mails and
forking repos.
Celery has however been found to not work on Python 3.7, due to Celery 3.x
using the new reserved keyword 'async'.
193138922d56 broke celery, due to magic dependencies on initialization and
setting global configuration at import time.
Instead, always use the correctly configured global Celery app, both when
creating tasks and checking result status.
This has been tested to work on Python 3.6 - for example for sending mails and
forking repos.
Celery has however been found to not work on Python 3.7, due to Celery 3.x
using the new reserved keyword 'async'.
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)