Put SMS messages in a separate sending queue.

This commit is contained in:
Greyson Parrelli 2021-09-27 15:32:50 -04:00 committed by Cody Henthorne
parent bad382e2f3
commit e72be42eff

View file

@ -237,7 +237,7 @@ public class SmsSendJob extends SendJob {
private static Job.Parameters constructParameters(@NonNull Recipient destination) {
return new Job.Parameters.Builder()
.setMaxAttempts(MAX_ATTEMPTS)
.setQueue(destination.getId().toQueueKey())
.setQueue(destination.getId().toQueueKey() + "::SMS")
.addConstraint(NetworkOrCellServiceConstraint.KEY)
.build();
}