diff --git a/libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentUploadJob.kt b/libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentUploadJob.kt index 11d9298428..e4cc76974f 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentUploadJob.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentUploadJob.kt @@ -33,7 +33,7 @@ class AttachmentUploadJob(val attachmentID: Long, val threadID: String, val mess } // Settings - override val maxFailureCount: Int = 2 + override val maxFailureCount: Int = 20 companion object { val TAG = AttachmentUploadJob::class.simpleName diff --git a/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageSendJob.kt b/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageSendJob.kt index 7d25debe40..274f11c3e3 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageSendJob.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageSendJob.kt @@ -22,7 +22,7 @@ class MessageSendJob(val message: Message, val destination: Destination) : Job { override var id: String? = null override var failureCount: Int = 0 - override val maxFailureCount: Int = 2 + override val maxFailureCount: Int = 10 companion object { val TAG = MessageSendJob::class.simpleName