##// END OF EJS Templates
chore(config): optimized celery configuration
super-admin -
r5299:2823fa9f default
parent child Browse files
Show More
@@ -68,12 +68,14 b' base_celery_config = {'
68 68 'result_expires': 60 * 60 * 24,
69 69 'result_persistent': True,
70 70 'imports': imports,
71 'worker_max_tasks_per_child': 20,
71 'worker_max_tasks_per_child': 100,
72 'worker_hijack_root_logger': False,
73 'worker_prefetch_multiplier': 1,
72 74 'task_serializer': 'msgpack',
73 75 'accept_content': ['json', 'msgpack'],
74 76 'result_serializer': 'msgpack',
75 77 'result_accept_content': ['json', 'msgpack'],
76 'worker_hijack_root_logger': False,
78
77 79 'broker_connection_retry_on_startup': True,
78 80 'database_table_names': {
79 81 'task': 'beat_taskmeta',
General Comments 0
You need to be logged in to leave comments. Login now