Skip to content

Conversation

sazzad16
Copy link
Contributor

@sazzad16 sazzad16 commented Mar 7, 2021

An extension to #2445

@sazzad16
Copy link
Contributor Author

@gkorland Please check #2445

@sazzad16 sazzad16 added this to the 4.0.0 milestone Mar 20, 2021
From @mina-asham,

I would avoid `parallelStream` here:
1. I don't really think it's that intensive of an operation that you are going to get a gain
2. It's going to use the shared forkjoin pool and might affect other operations

Also we can use the method reference for the map operation.

Co-authored-by: Mina Asham <[email protected]>
mina-asham
mina-asham previously approved these changes Mar 24, 2021
Copy link
Contributor

@mina-asham mina-asham left a comment

Choose a reason for hiding this comment

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

I still think the ArrayList is the right one to use here, but it doesn't really change anything so will leave that up to you :D

 Conflicts:
	src/main/java/redis/clients/jedis/JedisSentinelPool.java
	src/test/java/redis/clients/jedis/tests/SSLJedisSentinelPoolTest.java
@sazzad16 sazzad16 merged commit fb006c2 into redis:master Mar 31, 2021
@sazzad16 sazzad16 deleted the sentinel-tls-3 branch March 31, 2021 14:45
sazzad16 added a commit to sazzad16/jedis that referenced this pull request Mar 31, 2021
@chayim chayim mentioned this pull request Jun 2, 2022
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.

4 participants