From a3b1a81ab30d7f5ef9486a662cece130c07481b9 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Fri, 4 Dec 2020 10:22:01 +1100 Subject: [PATCH] Lower attachment download job max failure count --- SessionMessagingKit/Jobs/AttachmentDownloadJob.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SessionMessagingKit/Jobs/AttachmentDownloadJob.swift b/SessionMessagingKit/Jobs/AttachmentDownloadJob.swift index da76a7327..00e228b69 100644 --- a/SessionMessagingKit/Jobs/AttachmentDownloadJob.swift +++ b/SessionMessagingKit/Jobs/AttachmentDownloadJob.swift @@ -21,7 +21,7 @@ public final class AttachmentDownloadJob : NSObject, Job, NSCoding { // NSObject // MARK: Settings public class var collection: String { return "AttachmentDownloadJobCollection" } - public static let maxFailureCount: UInt = 100 + public static let maxFailureCount: UInt = 20 // MARK: Initialization public init(attachmentID: String, tsIncomingMessageID: String) {