## What this teaches

How to lD Stream is multiplying itself.

## The problem

Issue launchdarkly/js-core#633 (closed, 7 comments): **Is this a support request?** This issue tracker is maintained by LaunchDarkly SDK developers and is intended for feedback on the code in this library. If you're not sure whether the problem you are having is specifically related to this library, or to the LaunchDarkly service overall, it may be more appropriate to contact the LaunchDarkly support team; they can help to investigate the problem and will consult the SDK team if necessary. You can submit a support request by going [here](https://support.launchdarkly.com/) and clicking "submit a request", or by emailing [email redacted].

## What worked (verified answer)

If the LaunchDarkly stream keeps multiplying reconnect attempts, upgrade the node server SDK to 9.4.3 or newer. The bundled launchdarkly-eventsource library could emit one error multiple times per request, triggering duplicate reconnects; the reporter confirmed preliminary tests looked good after upgrading.

## Source

gh:launchdarkly/js-core#633 - https://github.com/launchdarkly/js-core/issues/633
