Skip to content

Commit

Permalink
fix: Mark the ProcessMessageNotificationsWorker as expedited (#2152)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisCAD authored Feb 6, 2025
2 parents e817e67 + 9b8643f commit a1686da
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ class ProcessMessageNotificationsWorker @AssistedInject constructor(
val workRequest = OneTimeWorkRequestBuilder<ProcessMessageNotificationsWorker>()
.addTag(TAG)
.setInputData(workData)
.setExpedited(OutOfQuotaPolicy.RUN_AS_NON_EXPEDITED_WORK_REQUEST)
.setConstraints(Constraints.Builder().setRequiredNetworkType(NetworkType.CONNECTED).build())
.build()

Expand Down

0 comments on commit a1686da

Please sign in to comment.