-
Notifications
You must be signed in to change notification settings - Fork 48
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
Upgrading to 2.0.5 causes "nil can't be coerced into Float" #44
Comments
Here is the tail of the stacktrace:
|
Indeed, the timeout argument is pool_options
# => {:size=>4, :timeout=>nil} Which then causes issues with connection_pool |
I think it might come from PR 27: Old pool_options[:timeout] = options[:pool_timeout] if options[:pool_timeout] New def pool_options
{
size: @options[:pool_size],
timeout: @options[:pool_timeout]
}
end Notably, the |
Yup, this definitely has to do with my refactoring changes in order to make the |
sorry this took so long, it's been released. as v2.0.6 |
I'm not sure if this is an issue with the gem or with our usage of it, but upon updating, our application no longer allowed people to log in. I figured I can open this here in case other people see something similar.
The changes in #37 seem relevant, but I'm going to try and do a bit more digging.
The text was updated successfully, but these errors were encountered: