Skip to content

Commit

Permalink
Update framework.config.ts for replication strategy
Browse files Browse the repository at this point in the history
To fix the DB issue in BM,
  • Loading branch information
christyfernandes authored Jun 3, 2024
1 parent 25b1aa2 commit c20919e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/framework.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const packageObj = JSON.parse(fs.readFileSync('package.json', 'utf8'))
const uuidv1 = require('uuid/v1')

const consistency = getConsistencyLevel(CONSTANTS.PORTAL_CASSANDRA_CONSISTENCY_LEVEL)
const replicationStrategy = {class: 'SimpleStrategy', replication_factor: 1}
const replicationStrategy = {class: 'SimpleStrategy', replication_factor: 3}
function getIPList() {
return CONSTANTS.CASSANDRA_IP.split(',')
}
Expand Down

0 comments on commit c20919e

Please sign in to comment.