020a3903ff
When subscriptions are too slow to accept messages on their channels, then we should remove them from the fanout so that we don't have dead subscriptions using up resources. In addition, when a subscription is explicitly canceled, we should also clean up after it remove the corresponding pipeline. We also add a new metrics, `events.subscriptions`, to keep track of the number of active subscriptions. This also helps us test. Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com> |
||
---|---|---|
.. | ||
bus.go | ||
bus_test.go |