mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-29 12:39:45 +00:00
Merge pull request #298 from loki-project/photo-sending-bug
Fix Attachment Upload Retrying
This commit is contained in:
@@ -52,7 +52,7 @@ public class AttachmentUploadJob extends BaseJob implements InjectableType {
|
||||
this(new Job.Parameters.Builder()
|
||||
.addConstraint(NetworkConstraint.KEY)
|
||||
.setLifespan(TimeUnit.DAYS.toMillis(1))
|
||||
.setMaxAttempts(1)
|
||||
.setMaxAttempts(5)
|
||||
.build(),
|
||||
attachmentId, destination);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user