mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-16 11:11:25 +00:00
Fix excessive retrying
This commit is contained in:
parent
ff4947107e
commit
1d4a3bbe08
@ -52,7 +52,7 @@ public class AttachmentUploadJob extends BaseJob implements InjectableType {
|
|||||||
this(new Job.Parameters.Builder()
|
this(new Job.Parameters.Builder()
|
||||||
.addConstraint(NetworkConstraint.KEY)
|
.addConstraint(NetworkConstraint.KEY)
|
||||||
.setLifespan(TimeUnit.DAYS.toMillis(1))
|
.setLifespan(TimeUnit.DAYS.toMillis(1))
|
||||||
.setMaxAttempts(3)
|
.setMaxAttempts(1)
|
||||||
.build(),
|
.build(),
|
||||||
attachmentId, destination);
|
attachmentId, destination);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user