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

Send outgoing notification immediately when their UpdateInterval elapses #4

Open
mjl- opened this issue Feb 25, 2024 · 0 comments
Open
Labels
help wanted Extra attention is needed

Comments

@mjl-
Copy link
Owner

mjl- commented Feb 25, 2024

When we find a new module, and it matches a subscription, we'll send an email to the user. Except when we already sent a message within the past user-configured interval. In that case, we store that we have a module to notify about. It will be included in the next attempt to send a notification. So when a next new module is found. That may take a while.

We should be notifying as soon as the interval elapses. Probably by putting a "send at" timestamp in the ModuleUpdate, and periodically querying the database for those that are due.

@mjl- mjl- added the help wanted Extra attention is needed label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant