ConnectionValidator: increase timeout to 57s #7456
authorChristian Kamm <mail@ckamm.de>
Fri, 6 Sep 2019 12:33:37 +0000 (14:33 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:59 +0000 (10:58 +0100)
commita5c6612883a45b832870d1763379e6c6537f3633
tree269f087bb358571da0a879342bfb0ed874c6a513
parent41dc68f99c330738cf7f12237cf1fe94891b993e
ConnectionValidator: increase timeout to 57s #7456

When the gui thread blocks for several seconds it's possible for the
ConnectionValidator to timeout and decide that the account is
unreachable. It will then terminate all sync runs.

Increasing the timeout makes this less likely to happen. The tradeoff is
that real disconnects will not be detected as quickly.

This does not address the root cause but makes the symptom less likely
to appear.
src/gui/connectionvalidator.h