Skip to content

Commit

Permalink
revert: PLT-541: make redis client singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
sumandas0 committed Feb 5, 2024
1 parent 2884e6b commit 6ca6c87
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ Config getProdConfig() throws AtlasException {
config.useSentinelServers()
.setReadMode(ReadMode.MASTER_SLAVE)
.setCheckSentinelsList(false)
.setKeepAlive(true)
.setMasterConnectionMinimumIdleSize(10)
.setMasterConnectionPoolSize(20)
.setSlaveConnectionMinimumIdleSize(10)
.setSlaveConnectionPoolSize(20)
.setMasterName(atlasConfig.getString(ATLAS_REDIS_MASTER_NAME))
.addSentinelAddress(formatUrls(atlasConfig.getStringArray(ATLAS_REDIS_SENTINEL_URLS)))
.setUsername(atlasConfig.getString(ATLAS_REDIS_USERNAME))
Expand Down

0 comments on commit 6ca6c87

Please sign in to comment.