Adjust snode API parameters

This commit is contained in:
Niels Andriesse 2020-11-26 16:06:20 +11:00
parent 3eae001202
commit f6b78f9e99
1 changed files with 2 additions and 2 deletions

View File

@ -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<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
/// - Note: Changing this on the fly is not recommended.