Skip to content

Commit a1686da

Browse files
authored
fix: Mark the ProcessMessageNotificationsWorker as expedited (#2152)
2 parents e817e67 + 9b8643f commit a1686da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: app/src/standard/java/com/infomaniak/mail/firebase/ProcessMessageNotificationsWorker.kt

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ class ProcessMessageNotificationsWorker @AssistedInject constructor(
111111
val workRequest = OneTimeWorkRequestBuilder<ProcessMessageNotificationsWorker>()
112112
.addTag(TAG)
113113
.setInputData(workData)
114+
.setExpedited(OutOfQuotaPolicy.RUN_AS_NON_EXPEDITED_WORK_REQUEST)
114115
.setConstraints(Constraints.Builder().setRequiredNetworkType(NetworkType.CONNECTED).build())
115116
.build()
116117

0 commit comments

Comments
 (0)