only use json in celery for serialization. pickle is going to be deprecated soon

This commit is contained in:
Eran Sandler 2014-06-24 12:29:44 +03:00
parent 90157157df
commit 08a06b0792

View File

@ -8,6 +8,8 @@ celery = Celery('redash',
include='redash.tasks')
celery.conf.update(CELERY_RESULT_BACKEND=settings.CELERY_BACKEND,
CELERY_TASK_SERIALIZER='json',
CELERY_ACCEPT_CONTENT = ['json'],
CELERYBEAT_SCHEDULE={
'refresh_queries': {
'task': 'redash.tasks.refresh_queries',