diff options
author | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-10-27 15:42:14 +0300 |
---|---|---|
committer | Arttu Tarkiainen <arttu.tarkiainen@qt.io> | 2021-10-28 09:15:19 +0000 |
commit | 002b2e15d05a1a6784595855408c331531f03746 (patch) | |
tree | 53014a63686fc03f826423ea3debf41fb63a1e1f /src/libs/installer/libarchivewrapper_p.h | |
parent | 8bd9037a6be6dbea7940ac54b4aba9ec3df4b732 (diff) |
LibArchiveWrapper: use local zero-timer for processing server signals
Now that the server process may request file seeks in addition to reads
for archive formats supporting them, the interval which we process the
requests will have a big impact on the extracting speed.
Also shrink the read buffer as its size isn't as significant for the
performance after this change.
Task-number: QTIFW-2384
Change-Id: Iaf296833c6ff1acfc666a6e82f661e1a40c77b61
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Diffstat (limited to 'src/libs/installer/libarchivewrapper_p.h')
-rw-r--r-- | src/libs/installer/libarchivewrapper_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libs/installer/libarchivewrapper_p.h b/src/libs/installer/libarchivewrapper_p.h index 722c91f17..4277cd4f9 100644 --- a/src/libs/installer/libarchivewrapper_p.h +++ b/src/libs/installer/libarchivewrapper_p.h @@ -86,7 +86,6 @@ private: ExtractWorker::Status workerStatus() const; private: - QTimer m_timer; mutable QReadWriteLock m_lock; LibArchiveArchive m_archive; |