-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove letter queues #2454
base: main
Are you sure you want to change the base?
Remove letter queues #2454
Conversation
@@ -267,14 +267,14 @@ def send_notification_to_queue(notification, research_mode, queue=None): | |||
if notification.sends_with_custom_number(): | |||
deliver_task = provider_tasks.deliver_throttled_sms | |||
queue = QueueNames.SEND_THROTTLED_SMS | |||
if not queue or queue == QueueNames.NORMAL: | |||
if not queue: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a fallback that was used when the sms/email specific queues were released. It is no longer possible to have QueueNames.NORMAL
as far as I can tell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's test the 💩 out of this before releasing with some bug bash?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good! I will wait until Monday to merge this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clean up! let's test this out extensively before the release. 🙏
Summary | Résumé
This PR removes the following celery queues:
bulk-tasks
,priority-tasks
, andnormal-tasks
. These have been replaced with sms and email specific queues and they were only being used for letter sending, so they should be safe to remove.