maxReconnectAttempts

Maximum reconnect attempts on failover or disconnection. Any negative value would mean that there will be an infinite number of reconnect attempts.