X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..356ce56229b7439ae6f35f8f80e480bdfa8bff56:/src/wolnelektury/settings/celery.py diff --git a/src/wolnelektury/settings/celery.py b/src/wolnelektury/settings/celery.py index 77abfa658..0d9b7785a 100644 --- a/src/wolnelektury/settings/celery.py +++ b/src/wolnelektury/settings/celery.py @@ -1,5 +1,9 @@ -BROKER_URL = 'django://' +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# +CELERY_BROKER_URL = 'redis://' -CELERY_EAGER_PROPAGATES_EXCEPTIONS = True +CELERY_TASK_EAGER_PROPAGATES = True CELERY_SEND_TASK_ERROR_EMAILS = True CELERY_ACCEPT_CONTENT = ['pickle'] +CELERY_TASK_SERIALIZER = 'pickle'