Skip to content

Adds optional secret parameter to RedisClientPool initializer#59

Closed
efuquen wants to merge 1 commit intodebasishg:masterfrom
efuquen:master
Closed

Adds optional secret parameter to RedisClientPool initializer#59
efuquen wants to merge 1 commit intodebasishg:masterfrom
efuquen:master

Conversation

@efuquen
Copy link

@efuquen efuquen commented Dec 4, 2012

With redis pool there is no way to pass in the secret to the pool, so any redis server requiring authorization would force the auth call to occur everytime someone uses withClient. The RedisPool implementation can easily just call auth only once, everytime it creates the redis client, if it had access to the secret passed in on pool initialization. this pull requests adds that optional parameter.

…client has been initialized. prevents need to do this every time you grab a redis client from the pool, even if its a cached instance
@efuquen
Copy link
Author

efuquen commented Dec 12, 2012

curious if there is any comment on this, does this way of implementing the auth make sense or are there any objections?

@debasishg
Copy link
Owner

Thanks for the pull request. I will have a detailed look over this weekend. Apologies for not getting back earlier.

@debasishg
Copy link
Owner

merged manually .. Thanks for the pull request

@debasishg debasishg closed this Dec 14, 2012
Seyun pushed a commit to Seyun/scala-redis that referenced this pull request Nov 24, 2014
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