listmonk/internal/manager
Kailash Nadh 81b62a4aa9 Fix race condition in immediate campaign pause-start actions.
Pausing a campaign and starting it within the interval where campaign manager
pipe cleanup happens would cause a campaign to be marked as finished. This
patch addresses that by only doing the 'finished' state update if the campaign
wasn't stopped (cancel, pause) manually.

Potentially closes #2278 as this is the only reproducible scenario where a
campaign prematurely gets marked as finished.
2025-04-24 22:40:00 +05:30
..
manager.go Fix race condition in immediate campaign pause-start actions. 2025-04-24 22:40:00 +05:30
message.go Refactor the core concurrent campaign manager logic. 2024-01-02 14:57:04 +05:30
pipe.go Fix race condition in immediate campaign pause-start actions. 2025-04-24 22:40:00 +05:30