Allow RestoreAttachmentJob to be retried multiple times.

This commit is contained in:
Greyson Parrelli
2025-08-15 16:05:39 -04:00
committed by Jeffrey Starke
parent 3a06f604fd
commit eb4abf2a9e

View File

@@ -160,6 +160,7 @@ class RestoreAttachmentJob private constructor(
}
}
.setLifespan(TimeUnit.DAYS.toMillis(30))
.setMaxAttempts(Parameters.UNLIMITED)
.setGlobalPriority(priority)
.build(),
messageId,