celery: allow JSON task data to be sent

This commit is contained in:
RhodeCode Admin 2023-02-01 13:58:28 +01:00
parent f881540968
commit 8be47ab771

View file

@ -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,