Slash semaphore wait delta on reachability down to 1 second
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 23 Oct 2024 05:43:56 +0000 (13:43 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Tue, 5 Nov 2024 05:59:13 +0000 (14:59 +0900)
Any longer does not really yield any positive result and freezes the
client for longer

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

index 2cc522ac455dc3e9a17e35213300810c92568ec9..4db7d9762e0c3cf650a658dc4a014646163d2110 100644 (file)
@@ -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
 }