Skip to content

Commit

Permalink
fix: 修改CELERY_ACCEPT_CONTENT #7625
Browse files Browse the repository at this point in the history
  • Loading branch information
huangpixu committed Jan 24, 2025
1 parent 89bbd7e commit fc55ff7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,7 @@ def check_engine_admin_permission(request, *args, **kwargs):
"bk_data_token": env.BK_AUDIT_DATA_TOKEN,
}

CELERY_ACCEPT_CONTENT = ["json", "pickle"]

# 自定义 Broker
if "BKAPP_SOPS_BROKER_URL" in os.environ:
Expand Down

0 comments on commit fc55ff7

Please sign in to comment.