Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix leaking timers in stream sources (#4532)
Repeated calls to `scheduleSetSourceConsumerRetry` could end up creating multiple timers for the same source, which would eventually schedule even more timers, which would result in runaway CPU usage. This PR instead bounds to one timer per source per stream. Signed-off-by: Neil Twigg <neil@nats.io>
- Loading branch information