mirror of
https://github.com/knadh/listmonk.git
synced 2024-09-20 07:16:33 +08:00
414c5c0c99
This commit fully refactors the core campaign manager logic. It applies a whole new approach to campaign state and lifecycle management. - Create a new "pipeline" abstraction on top of campaign for state management. - Account for every message processed and end campaigns based on the actual count. - Discard in-queue messages in the pipeline of a paused or cancelled campaign. |
||
---|---|---|
.. | ||
manager.go | ||
message.go | ||
pipe.go |