fix: revert max failure count on upload and send jobs

This commit is contained in:
jubb 2021-07-01 13:45:14 +10:00
parent 8701f68292
commit 9566120d66
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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