Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not provide nil values for missing connection pool options #45

Merged
merged 1 commit into from
Dec 19, 2018

Conversation

shepmaster
Copy link
Contributor

Fixes #44

Copy link
Contributor

@tubbo tubbo left a comment

Choose a reason for hiding this comment

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

@shepmaster thank you so much for the PR and issue report! sorry it took me a little bit to respond. this definitely had to do with some refactoring I did on Redis::Rack that definitely passed tests. take a look at the comment I made...in addition I feel like we need an additional unit test that ensures if :pool_size or :pool_timeout are nil, then neither :size nor :timeout appear as keys in #pool_options.

lib/redis/rack/connection.rb Outdated Show resolved Hide resolved
@shepmaster
Copy link
Contributor Author

Updated.

test/redis/rack/connection_test.rb Outdated Show resolved Hide resolved
lib/redis/rack/connection.rb Outdated Show resolved Hide resolved
@tubbo tubbo merged commit 13d7fd3 into redis-store:master Dec 19, 2018
@tubbo
Copy link
Contributor

tubbo commented Dec 19, 2018

thanks @shepmaster!

@shepmaster shepmaster deleted the pool-options branch December 19, 2018 19:16
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