diff --git a/CHANGES/2445.bugfix b/CHANGES/2445.bugfix new file mode 100644 index 000000000..42610e90e --- /dev/null +++ b/CHANGES/2445.bugfix @@ -0,0 +1 @@ +Marked distribution update and delete operations as non-immediate due to heavy index rebuild hooks. diff --git a/pulp_ansible/app/viewsets.py b/pulp_ansible/app/viewsets.py index af6bbe865..1ac2e6a3e 100644 --- a/pulp_ansible/app/viewsets.py +++ b/pulp_ansible/app/viewsets.py @@ -1124,6 +1124,8 @@ class AnsibleDistributionViewSet(DistributionViewSet, RolesMixin): endpoint_name = "ansible" queryset = AnsibleDistribution.objects.all() serializer_class = AnsibleDistributionSerializer + ALLOW_NON_BLOCKING_UPDATE = False + ALLOW_NON_BLOCKING_DELETE = False queryset_filtering_required_permission = "ansible.view_ansibledistribution"