-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Canceled and/or removed campaigns are not stopped #1010
Comments
A batch size worth of e-mails may be held in the in-memory queue. Even if a campaign is cancelled, this batch size is drained. With a rate as low as 1/minute, it'll take a long time to drain! |
@knadh Thank you for the clarification. Correct me if I'm wrong, but isn't it confusing that pausing doesn't pause immediately? I assumed that deleting the campaign should also clear the message queue to send immediately. Especially since there could be a situation where after deleting a campaign, a new one won't start because the previous one is still running (which is no longer visible on the UI side). I noticed these situations when I tested listmonk internally (hence this window). |
Yep, it's not ideal behaviour. Instant cancellation has been on the long list of to-dos for a while. Will look into this. |
I've come back to this from time to time with no clear visible solutions. Have narrowed down on attaching a Go |
This is now being tested and almost ready to merge: #1636 -- It involved fully refactoring and changing the architecture of concurrent message handling in the core. |
- Sent count is no longer the batch size fetched from the DB but is the actual count of messages sent. - Pausing and resuming now accurately tracks the last subscriber that was processed and resumes from there. - Fix multiple concurrent campaigns blocking. Closes #1616. Closes #905. Closes #1496. Closes #1250. Closes #1010.
- Sent count is no longer the batch size fetched from the DB but is the actual count of messages sent. - Pausing and resuming now accurately tracks the last subscriber that was processed and resumes from there. - Fix multiple concurrent campaigns blocking. Closes #1616. Closes #905. Closes #1496. Closes #1250. Closes #1010.
Version:
Description of the bug and steps to reproduce:
The canceled and/or deleted campaign is further sent. I don't know if this is related, but I have a very low sending limit set (1 message per minute)
The text was updated successfully, but these errors were encountered: