Increase message send retry limit

pull/53/head
Niels Andriesse 6 years ago
parent 182d8b90b9
commit fc131cf3ec

@ -11,7 +11,7 @@ public final class LokiAPI : NSObject {
// MARK: Settings // MARK: Settings
private static let version = "v1" 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 defaultTimeout: TimeInterval = 20
private static let longPollingTimeout: TimeInterval = 40 private static let longPollingTimeout: TimeInterval = 40
public static let defaultMessageTTL: UInt64 = 24 * 60 * 60 * 1000 public static let defaultMessageTTL: UInt64 = 24 * 60 * 60 * 1000

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

Loading…
Cancel
Save