Skip to content
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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Remove letter queues #2454

wants to merge 10 commits into from

Conversation

smcmurtry
Copy link
Contributor

@smcmurtry smcmurtry commented Feb 12, 2025

Summary | Résumé

This PR removes the following celery queues: bulk-tasks, priority-tasks, and normal-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.

@smcmurtry smcmurtry changed the title Remove bulk letter queue Remove letter queues Feb 12, 2025
@@ -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:
Copy link
Contributor Author

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.

Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

@jimleroyer jimleroyer left a 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. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants