kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix lifespan of RefreshAttributesJob.
rodzic
293bc2da47
commit
1fc119e027
|
@ -50,7 +50,7 @@ public class RefreshAttributesJob extends BaseJob {
|
|||
.addConstraint(NetworkConstraint.KEY)
|
||||
.setQueue("RefreshAttributesJob")
|
||||
.setMaxInstancesForFactory(2)
|
||||
.setLifespan(TimeUnit.DAYS.toDays(30))
|
||||
.setLifespan(TimeUnit.DAYS.toMillis(30))
|
||||
.setMaxAttempts(Parameters.UNLIMITED)
|
||||
.build(),
|
||||
forced);
|
||||
|
|
Ładowanie…
Reference in New Issue