diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-10 10:51:01 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-10 10:57:08 -0500 |
commit | d677bf455f08264096edd13e3306c55f74f7ee1d (patch) | |
tree | b41fab8bc7f11b084f7a5b6764f6057d56296811 /package | |
parent | 041694abe6167ba06c89a4be6a732e4c36b86c59 (diff) |
Globally disable threading for these for now.
It doesn't win us much performance-wise (as it turned out), and causes
weird crashers with large documents.
Change-Id: I0566ce850b8f6656e6f9821c653b7a825a7874a3
(cherry picked from commit e0425f9493e25fa14f11505d9ebc12a2fe78d4b6)
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index 64b48d3adfc5..2c9562b04c78 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -810,6 +810,8 @@ bool ZipPackageStream::saveChild( if (xSeek.is() && xSeek->getLength() < 100000) bParallelDeflate = false; + bParallelDeflate = false; // globally disable parallel deflate for now. + if (bParallelDeflate) { // Start a new thread deflating this zip entry |