Upgrade celery to 4.4.7
Replace django-celery with django-celery-results Upgrade redis to latest
This commit is contained in:
@@ -18,6 +18,7 @@ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')
|
||||
|
||||
APP = Celery('proj')
|
||||
|
||||
APP.conf.task_protocol = 1
|
||||
# Using a string here means the worker will not have to
|
||||
# pickle the object when using Windows.
|
||||
APP.config_from_object('django.conf:settings')
|
||||
|
||||
Reference in New Issue
Block a user