mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Adjust snode API parameters
This commit is contained in:
parent
3eae001202
commit
f6b78f9e99
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue