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

alive ttl for email queue #208

Merged
merged 3 commits into from
Aug 8, 2024
Merged

alive ttl for email queue #208

merged 3 commits into from
Aug 8, 2024

Conversation

ice-cronus
Copy link
Contributor

Option for the FE to call same endpoint to mark that user is active and still in queue, once TTL is expired (no events from FE) - no email is sent to the user.
By default TTL is email expiration time, so it process all the queue regardless on extra endpoint calls

@ice-cronus ice-cronus requested a review from a team as a code owner August 8, 2024 11:44
@ice-ares
Copy link
Contributor

ice-ares commented Aug 8, 2024

Can u change the behaviour so that if we dont set that new ttl cfg value, the logic is what we have in master atm, and if we set it to some non zero value it behaves like in this PR?

Basically instead of defaulting to the email explanation time, to default it to existing logic on master

…n time, continue sending to user if he dont have entry in ttl
@ice-ares ice-ares merged commit 9939d44 into master Aug 8, 2024
19 checks passed
@ice-ares ice-ares deleted the bugfix/email_queue_alive_ttl branch August 8, 2024 13:14
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