# HG changeset patch # User RhodeCode Admin # Date 2024-05-20 09:03:42 # Node ID f8c36854b287001a96d4f19e78da58af26f79439 # Parent 8586bedbef47a7f77e2cbffe865bcb40597ec0b4 fix(celery): don't use msgpack serializer due to problems with certain data types diff --git a/rhodecode/lib/celerylib/loader.py b/rhodecode/lib/celerylib/loader.py --- a/rhodecode/lib/celerylib/loader.py +++ b/rhodecode/lib/celerylib/loader.py @@ -72,9 +72,9 @@ base_celery_config = { 'worker_max_tasks_per_child': 100, 'worker_hijack_root_logger': False, 'worker_prefetch_multiplier': 1, - 'task_serializer': 'msgpack', + 'task_serializer': 'json', 'accept_content': ['json', 'msgpack'], - 'result_serializer': 'msgpack', + 'result_serializer': 'json', 'result_accept_content': ['json', 'msgpack'], 'broker_connection_retry_on_startup': True,