https://bugs.kde.org/show_bug.cgi?id=494817

--- Comment #4 from Allen Winter <[email protected]> ---
Git commit 663359edd263479e1a333460cb000999e75699f3 by Allen Winter, on behalf
of Stefan Huber.
Committed on 12/11/2026 at 12:48.
Pushed by winterz into branch 'release/26.12'.

EWS: Back off on errors of the event subscription requests

When a GetEvents or GetStreamingEvents request fails,
getEventsRequestFinished() of EwsSubscriptionManager calls reset(),
which sends the next request right away. If the server cannot be
reached, e.g., without a route, the request fails instantly, and this
turns into a busy loop: 100% CPU usage on one core and thousands of
"Failed to process EWS request: Network unreachable" messages per
second in the journal. This also happens while NetworkManager still
reports full connectivity, e.g., after a VPN disconnect or while the
server is down.

Emit connectionError() instead, as subscribeRequestFinished() already
does. The resource then goes temporarily offline and reconnects with
its exponential backoff.
Related: bug 422410
(cherry picked from commit 9fc05bb7c97df6f8da04275a29ce3c5f762f75e0)

M  +5    -1    resources/ews/ewssubscriptionmanager.cpp

https://invent.kde.org/pim/kdepim-runtime/-/commit/663359edd263479e1a333460cb000999e75699f3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to