fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migrate from raven to sentry-sdk.
[wolnelektury.git]
/
src
/
wolnelektury
/
settings
/
celery.py
diff --git
a/src/wolnelektury/settings/celery.py
b/src/wolnelektury/settings/celery.py
index
77abfa6
..
0d9b778
100644
(file)
--- 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_EXCEPTION
S = True
+CELERY_
TASK_EAGER_PROPAGATE
S = True
CELERY_SEND_TASK_ERROR_EMAILS = True
CELERY_ACCEPT_CONTENT = ['pickle']
CELERY_SEND_TASK_ERROR_EMAILS = True
CELERY_ACCEPT_CONTENT = ['pickle']
+CELERY_TASK_SERIALIZER = 'pickle'