Do not attempt to reach out to FileProviderExt every single time we want to check...
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 23 Oct 2024 05:42:21 +0000 (13:42 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Tue, 5 Nov 2024 05:59:13 +0000 (14:59 +0900)
commit2214c1d3d524a31fddeffe8b862f5f9522a9f29e
tree8292a5c12df59916802eb22fc6da99a1b4c33d5e
parente8defb9f8c43275aa68f70c3c6e28477933eec15
Do not attempt to reach out to FileProviderExt every single time we want to check if it is reachable

Only check every 60 seconds, this way we do not freeze the client for 3
seconds every time that we want to check the reachability while the
extension is unreachable

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/gui/macOS/fileproviderxpc.h
src/gui/macOS/fileproviderxpc_mac.mm