mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
fix: revert max failure count on upload and send jobs
This commit is contained in:
parent
8701f68292
commit
9566120d66
@ -33,7 +33,7 @@ class AttachmentUploadJob(val attachmentID: Long, val threadID: String, val mess
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Settings
|
// Settings
|
||||||
override val maxFailureCount: Int = 2
|
override val maxFailureCount: Int = 20
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
val TAG = AttachmentUploadJob::class.simpleName
|
val TAG = AttachmentUploadJob::class.simpleName
|
||||||
|
@ -22,7 +22,7 @@ class MessageSendJob(val message: Message, val destination: Destination) : Job {
|
|||||||
override var id: String? = null
|
override var id: String? = null
|
||||||
override var failureCount: Int = 0
|
override var failureCount: Int = 0
|
||||||
|
|
||||||
override val maxFailureCount: Int = 2
|
override val maxFailureCount: Int = 10
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
val TAG = MessageSendJob::class.simpleName
|
val TAG = MessageSendJob::class.simpleName
|
||||||
|
Loading…
Reference in New Issue
Block a user