[Libreoffice-bugs] [Bug 129236] Checking for an update is slow

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 6 13:53:03 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=129236

--- Comment #1 from Thomas Bertels <tbertels+bugzilla at gmail.com> ---
The first update check (after starting the program) actually takes about 20
seconds. The following ones take about 10 seconds.

Extensions update check follows the same behavior.

This 10 seconds delay may be used on each update check, not only the automatic
one when starting the program:
https://github.com/LibreOffice/core/blob/35b0a64c3c8f11e15d689ecb5598b09c4459e5cd/extensions/source/update/check/updatecheck.cxx#L439

> osl::Condition::Result aResult = osl::Condition::result_timeout;
> TimeValue tv = { 10, 0 };

> // Initial wait to avoid doing further time consuming tasks during start-up
> aResult = m_aCondition.wait(&tv);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191206/f5ec6388/attachment.html>


More information about the Libreoffice-bugs mailing list