Skip to content

Commit

Permalink
Fix Celery default to no longer allow pickle (#7205)
Browse files Browse the repository at this point in the history
Part of #7205
  • Loading branch information
kaxil authored and potiuk committed Jun 29, 2020
1 parent 10d808b commit 967e61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/config_templates/default_celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _broker_supports_visibility_timeout(url):
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,
Expand Down

0 comments on commit 967e61d

Please sign in to comment.