diff --git a/CHANGES/4434.bugfix b/CHANGES/4434.bugfix new file mode 100644 index 0000000000..3d1b1f9cbf --- /dev/null +++ b/CHANGES/4434.bugfix @@ -0,0 +1 @@ +Removed compression from exports (using gzip level 0). For most users of export functionality it seems to be a poor tradeoff. \ No newline at end of file diff --git a/pulpcore/app/tasks/export.py b/pulpcore/app/tasks/export.py index 825c7c1252..9c45f622c2 100644 --- a/pulpcore/app/tasks/export.py +++ b/pulpcore/app/tasks/export.py @@ -379,7 +379,7 @@ def pulp_export(exporter_pk, params): ValidationError: When path is not in the ALLOWED_EXPORT_PATHS setting, OR path exists and is not a directory """ - DEFAULT_COMPRESSION = 1 + DEFAULT_COMPRESSION = 0 pulp_exporter = PulpExporter.objects.get(pk=exporter_pk) serializer = PulpExportSerializer(data=params, context={"exporter": pulp_exporter})