Closed
Description
Description
The documentation says that there is default reconnectStrategy of exponential backoff.
But does this apply to createCluster() as well?
I see that reconnectStrategy is hard coded to false here in cluster-slots.ts
What is the right understanding? How can I specify the reconnect strategy for cluster cases?
Here is my connection code:
const cluster = createCluster({
rootNodes: [
{
url: serverUrl
}
],
defaults: {
socket: {
connectTimeout: 10000ms,
tls: true,
},
},
useReplicas: true,
});