From eae8e76fd9b6d834289a821e65849280dee2dad1 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 23 Oct 2024 13:43:56 +0800 Subject: [PATCH] Slash semaphore wait delta on reachability down to 1 second Any longer does not really yield any positive result and freezes the client for longer Signed-off-by: Claudio Cambra --- src/gui/macOS/fileproviderxpc_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/macOS/fileproviderxpc_mac.mm b/src/gui/macOS/fileproviderxpc_mac.mm index 2cc522ac4..4db7d9762 100644 --- a/src/gui/macOS/fileproviderxpc_mac.mm +++ b/src/gui/macOS/fileproviderxpc_mac.mm @@ -21,7 +21,7 @@ #include "gui/macOS/fileproviderxpc_mac_utils.h" namespace { - constexpr int64_t semaphoreWaitDelta = 3000000000; // 3 seconds + constexpr int64_t semaphoreWaitDelta = 1000000000; // 1 seconds constexpr auto reachableRetryTimeout = 60; // 60 seconds } -- 2.30.2