mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
only use json in celery for serialization. pickle is going to be deprecated soon
This commit is contained in:
parent
90157157df
commit
08a06b0792
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user