#404 XZ threads are very bad about memory, so use only two threads.
Merged by mikem. Opened by parasense.
parasense/koji master  into  master

Download 404.patch

In koji #380 we setup -T0
That will use all available compute resources.
It also has the potential to exhaust system memnory, and cause errors.
This PR seeks a middle ground with 2 XZ threads similar to createrepo_c.
https://github.com/rpm-software-management/createrepo_c/blob/master/src/compression_wrapper.c#L490

Signed-off-by: jdisnard jdisnard@redhat.com

note: it is best to avoid using your master branch for pull requests

Commit e2958022 fixes this pull-request

Pull-Request has been merged by mikem@redhat.com

Thank you for accepting the quick fix.

Metadata