Increase message send retry limit

This commit is contained in:
Niels Andriesse 2019-09-18 16:59:11 +10:00
parent 182d8b90b9
commit fc131cf3ec
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ public final class LokiAPI : NSObject {
// MARK: Settings
private static let version = "v1"
private static let maxRetryCount: UInt = 4
private static let maxRetryCount: UInt = 8
private static let defaultTimeout: TimeInterval = 20
private static let longPollingTimeout: TimeInterval = 40
public static let defaultMessageTTL: UInt64 = 24 * 60 * 60 * 1000

View file

@ -8,7 +8,7 @@ public final class LokiGroupChatAPI : NSObject {
// MARK: Settings
private static let fallbackBatchCount = 20
private static let maxRetryCount: UInt = 4
private static let maxRetryCount: UInt = 8
// MARK: Public Chat
#if DEBUG