summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-09-24 00:11:04 +0200
committerMichael Meeks <michael.meeks@collabora.com>2021-10-05 20:19:32 +0200
commit24ad72393a26a0d6f2a0f2d79acc51fc28533234 (patch)
tree5fa78094cb4ca1b869fafbf11820f8448bf0b849 /io
parent9688743c56d2befe96fa799eea16b4a00e0419e1 (diff)
add extra timeout with higher priority to LOK flushing
The normal idle has TaskPriority::POST_PAINT, which means that if we get too busy, the idle won't be called for a long time, meaning the queue will get longer and longer, making its processing slower, and client interactivity will be very poor, with updates possibly coming only when everything becomes idle. The second timeout will flush the queue after a reasonable timeout. I don't think there's an optimal value, so let's choose 100ms for now. Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122737 Tested-by: Luboš Luňák <l.lunak@collabora.com> Reviewed-by: Luboš Luňák <l.lunak@collabora.com> (cherry picked from commit 3f6f1a45c1f4225817188f97721e6546e38871e2) Change-Id: Ia1312a690aefd2c8628c82e0f42b2993802d8b1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122943 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions