|
|
@ -14,11 +14,11 @@ public final class SnodeAPI : NSObject {
|
|
|
|
public static var workQueue: DispatchQueue { Threading.workQueue } // Just to make things fit with legacy code
|
|
|
|
public static var workQueue: DispatchQueue { Threading.workQueue } // Just to make things fit with legacy code
|
|
|
|
|
|
|
|
|
|
|
|
// MARK: Settings
|
|
|
|
// MARK: Settings
|
|
|
|
private static let maxRetryCount: UInt = 4
|
|
|
|
private static let maxRetryCount: UInt = 8
|
|
|
|
private static let minimumSnodePoolCount = 64
|
|
|
|
private static let minimumSnodePoolCount = 64
|
|
|
|
private static let minimumSwarmSnodeCount = 2
|
|
|
|
private static let minimumSwarmSnodeCount = 2
|
|
|
|
private static let seedNodePool: Set<String> = [ "https://storage.seed1.loki.network", "https://storage.seed3.loki.network", "https://public.loki.foundation" ]
|
|
|
|
private static let seedNodePool: Set<String> = [ "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
|
|
|
|
private static let targetSwarmSnodeCount = 2
|
|
|
|
|
|
|
|
|
|
|
|
/// - Note: Changing this on the fly is not recommended.
|
|
|
|
/// - Note: Changing this on the fly is not recommended.
|
|
|
|