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

Batch User Report Emails #19

Open
awebre opened this issue Apr 13, 2021 · 0 comments
Open

Batch User Report Emails #19

awebre opened this issue Apr 13, 2021 · 0 comments
Labels
enhancement New feature or request qol-improvment Anything that is primarily a change to infrastructure or any simple refactor.

Comments

@awebre
Copy link
Owner

awebre commented Apr 13, 2021

User report emails should be batched such that they get sent at a more reasonable clip (once a day should suffice).

This is to help us avoid a paid tier of SendGrid (100/day is the current limit).

Implementation Note:
This should be possible by refactoring the current function to push to a new queue and creating a new function that would process the queue once a day. (Note that the timed trigger will not be able to use bindings, so it will have to use a standard storage queue client).

Alternatively, we could use the database for this. I like the idea of the queue storage for its retry and poison-queue functionality, but we don't get that by default here.

@awebre awebre added qol-improvment Anything that is primarily a change to infrastructure or any simple refactor. enhancement New feature or request labels Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request qol-improvment Anything that is primarily a change to infrastructure or any simple refactor.
Projects
None yet
Development

No branches or pull requests

1 participant