convoy
convoy copied to clipboard
[Bug report]: Generate the correct amount of event deliveries
Describe the bug
I'm experiencing an issue where we are generating more event deliveries than required for a particular event.
To Reproduce
Steps to reproduce the behaviour:
- Create an
Outgoing Project
and setAllow endpoint have multiple subscriptions
totrue
. - Register one endpoint and two subscriptions.
- Turn
Allow endpoint have multiple subscriptions
off. - Delete one of the associated subscriptions.
- Send an event; instead of getting one event delivery, we get two.
Expected behavior
I expected to get one event delivery after deleting the other subscription, but I got two event deliveries.