This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v1-10-test by this push:
new 0054a20 Fix Celery default to no longer allow pickle (#7205)
0054a20 is described below
commit 0054a20071788bb9f2149ba7a8bc9e30e0c2c67c
Author: Kaxil Naik <[email protected]>
AuthorDate: Mon Jun 15 19:28:33 2020 +0100
Fix Celery default to no longer allow pickle (#7205)
Part of https://github.com/apache/airflow/pull/7205
---
airflow/config_templates/default_celery.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/config_templates/default_celery.py
b/airflow/config_templates/default_celery.py
index fe1efd4..026053f 100644
--- a/airflow/config_templates/default_celery.py
+++ b/airflow/config_templates/default_celery.py
@@ -38,7 +38,7 @@ if 'visibility_timeout' not in broker_transport_options:
broker_transport_options['visibility_timeout'] = 21600
DEFAULT_CELERY_CONFIG = {
- 'accept_content': ['json', 'pickle'],
+ 'accept_content': ['json'],
'event_serializer': 'json',
'worker_prefetch_multiplier': 1,
'task_acks_late': True,