commanded/eventstore

Add jitter to subscription retry interval

slashdotdash opened this issue · 0 comments

Whenever a subscription fails to subscribe it will retry the attempt after an interval. The default interval is 60 seconds. This scenario might occur in a multi-node deployment when the subscription is already connected on another node.

To ensure connection attempts don't always happen concurrently (causing spikes of load) a random jitter amount should be added to the retry interval.