Skip to content

Send CfP emails via a queue#1999

Draft
marksteward wants to merge 1 commit intomainfrom
cfp-emails-in-db
Draft

Send CfP emails via a queue#1999
marksteward wants to merge 1 commit intomainfrom
cfp-emails-in-db

Conversation

@marksteward
Copy link
Copy Markdown
Member

@marksteward marksteward commented May 3, 2026

We often send a bunch of emails for CfP acceptance, which clogs up admin processes and can fail. Inserting them into a DB table also means we get the same transaction lifetime, so we don't need to worry about periodic commits/correctness.

Emails don't get sent until the periodic task is run (./flask periodic), so we should probably run that inside docker-compose. They can also be delayed up to a minute as a result, so it might be worth adding a way of poking the scheduler.

There's currently no process to delete sent emails, which we'd probably want to be determined by the caller.

Fixes #1997.

We often send a bunch of emails for CfP acceptance, which clogs up
admin processes and can fail. Inserting them into a DB table also
means we get the same transaction lifetime, so we don't need to
worry about periodic commits.
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.

Use email queue to send CfP round-close emails

1 participant