celery: allow JSON task data to be sent
This commit is contained in:
parent
f881540968
commit
8be47ab771
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ base_celery_config = {
|
|||
'result_persistent': True,
|
||||
'imports': imports,
|
||||
'worker_max_tasks_per_child': 100,
|
||||
'accept_content': ['json_ext'],
|
||||
'accept_content': ['json_ext', 'json'],
|
||||
'task_serializer': 'json_ext',
|
||||
'result_serializer': 'json_ext',
|
||||
'worker_hijack_root_logger': False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue