From 11048c50e362a26b268246587987a421b40a5c64 Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Wed, 28 Oct 2020 08:46:44 +1100 Subject: [PATCH] Tweak onion request settings a bit more --- .../src/Loki/API/Onion Requests/OnionRequestAPI.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SignalServiceKit/src/Loki/API/Onion Requests/OnionRequestAPI.swift b/SignalServiceKit/src/Loki/API/Onion Requests/OnionRequestAPI.swift index f74e4d558..9bef181e7 100644 --- a/SignalServiceKit/src/Loki/API/Onion Requests/OnionRequestAPI.swift +++ b/SignalServiceKit/src/Loki/API/Onion Requests/OnionRequestAPI.swift @@ -12,9 +12,9 @@ public enum OnionRequestAPI { /// The number of snodes (including the guard snode) in a path. private static let pathSize: UInt = 3 /// The number of times a path can fail before it's replaced. - private static let pathFailureThreshold: UInt = 2 + private static let pathFailureThreshold: UInt = 3 /// The number of times a snode can fail before it's replaced. - private static let snodeFailureThreshold: UInt = 2 + private static let snodeFailureThreshold: UInt = 3 /// The number of paths to maintain. public static let targetPathCount: UInt = 2