Skip to content

Commit

Permalink
Revert "fix: pre-prod config issue resolved"
Browse files Browse the repository at this point in the history
  • Loading branch information
Hari-stackroute authored Sep 27, 2022
1 parent 3c60908 commit eb2fe79
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ private void createCassandraConnection(String[] hosts) throws BaseException {
Integer.parseInt(cache.getProperty(Constants.POOL_TIMEOUT)));

//check for multi DC enabled or not from configuration file and send the value
//cluster = createCluster(hosts, poolingOptions, Boolean.parseBoolean(cache.getProperty(Constants.IS_MULTI_DC_ENABLED)));
cluster = createCluster(hosts, poolingOptions,false);
cluster = createCluster(hosts, poolingOptions, Boolean.parseBoolean(cache.getProperty(Constants.IS_MULTI_DC_ENABLED)));

final Metadata metadata = cluster.getMetadata();
String msg = String.format("Connected to cluster: %s", metadata.getClusterName());
Expand Down

0 comments on commit eb2fe79

Please sign in to comment.