From f6b78f9e997e39f2af57fc69f06cfbd456e3066d Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Thu, 26 Nov 2020 16:06:20 +1100 Subject: [PATCH] Adjust snode API parameters --- SessionSnodeKit/SnodeAPI.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SessionSnodeKit/SnodeAPI.swift b/SessionSnodeKit/SnodeAPI.swift index 5bc44f96a..9f10d55fe 100644 --- a/SessionSnodeKit/SnodeAPI.swift +++ b/SessionSnodeKit/SnodeAPI.swift @@ -14,11 +14,11 @@ public final class SnodeAPI : NSObject { public static var workQueue: DispatchQueue { Threading.workQueue } // Just to make things fit with legacy code // MARK: Settings - private static let maxRetryCount: UInt = 4 + private static let maxRetryCount: UInt = 8 private static let minimumSnodePoolCount = 64 private static let minimumSwarmSnodeCount = 2 private static let seedNodePool: Set = [ "https://storage.seed1.loki.network", "https://storage.seed3.loki.network", "https://public.loki.foundation" ] - private static let snodeFailureThreshold = 4 + private static let snodeFailureThreshold = 3 private static let targetSwarmSnodeCount = 2 /// - Note: Changing this on the fly is not recommended.