django-celery-results 版本2.4 CELERY_RESULT_EXTENDED = True

This commit is contained in:
曹前明 2022-07-16 17:33:31 +08:00
parent b7aeb352d1
commit 016c7ba282
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
celery==5.2.3
Django==3.2.12
django-celery-beat==2.3.0
django-celery-results==2.3.1
django-celery-results==2.4.0
django-cors-headers==3.11.0
django-filter==21.1
djangorestframework==3.13.1

View File

@ -238,6 +238,7 @@ CELERY_BEAT_SCHEDULER = 'django_celery_beat.schedulers:DatabaseScheduler'
CELERY_ACCEPT_CONTENT = ['application/json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_RESULT_EXTENDED = True
CELERY_TASK_TRACK_STARTED = True
CELERY_CACHE_BACKEND = 'default'
CELERYD_SOFT_TIME_LIMIT = 60*10