Search code examples
node.jscassandradatastax-node-driver

For Datastax NodeJS Cassandra Driver 3.5, what is the default ReconnectionPolicy?


We are using Apache Cassandra 3.11.2 with Node.js, using the Datastax NodeJS driver 3.5. Unfortunately, the documentation is often less than helpful. I cannot tell from everything I've read so far, what is the default ReconnectionPolicy if you don't specify one?


Solution

  • The default reconnection policy is ExponentialReconnectionPolicy with base delay of 1 seconds, and max delay of 600 seconds... It's defined in the same file as other default policies...