# HG changeset patch # User RhodeCode Admin # Date 2024-05-20 09:03:42 # Node ID ee39fc107907e7cc9852b81e37be2eb5d12bcb49 # Parent 8a4ff853c02a0d2bf3369274350a6812c5125ebd 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 @@ -71,9 +71,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,