Skip to content

4.0.1 redis fix - #166

Open
karthik-tarento wants to merge 21 commits into
cbrelease-4.0.1from
4.0.1-redisFix
Open

4.0.1 redis fix#166
karthik-tarento wants to merge 21 commits into
cbrelease-4.0.1from
4.0.1-redisFix

Conversation

@karthik-tarento

Copy link
Copy Markdown
Contributor

No description provided.

@karthik-tarento karthik-tarento left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juhiagl8 -- refer the comments

public SBApiResponse deleteCache() throws Exception {
SBApiResponse response = new SBApiResponse(Constants.API_REDIS_DELETE);
boolean res = redisCache.deleteAllCBExtKey();
boolean res = redisCache.deleteAllKey();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just keep the old name - do not create confusion -- deleteAllKey sounds dangerous.

Comment thread pom.xml Outdated
Comment on lines +174 to +183
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<exclusions>
<exclusion>
<groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId>
</exclusion>
</exclusions>
</dependency>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we need this ?

Comment thread pom.xml Outdated
Comment on lines +188 to +192
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.11.1</version>
</dependency>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also seems unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants