Fix excessive retrying

This commit is contained in:
nielsandriesse 2020-07-31 11:32:09 +10:00
parent ff4947107e
commit 1d4a3bbe08

View File

@ -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(3)
.setMaxAttempts(1)
.build(),
attachmentId, destination);
}