Add optional Cluster instance limit

Description

Suggested release note:

Added two new global config properties to help diagnose leaked Cluster instances:

`Cluster.maxAllowedInstances` is the number of connected Cluster instances that may exist at the same time. Calling `Cluster.connect` after this limit is reached will either fail or log a warning, depending on the value of the new `Cluster.failIfInstanceLimitReached` property. The default values log a warning if more than 1 Cluster is connected at a time.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

depends on

Activity

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created August 9, 2022 at 8:12 PM
Updated August 10, 2022 at 4:39 PM
Resolved August 10, 2022 at 4:39 PM
Instabug