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

Treat ENV vars as user inputted values #133

Merged
merged 3 commits into from
May 31, 2018
Merged

Treat ENV vars as user inputted values #133

merged 3 commits into from
May 31, 2018

Conversation

wuputah
Copy link
Collaborator

@wuputah wuputah commented May 31, 2018

Fixes #132

By running them through the function again as both the value and the
default value, a 0 will be changed to false. Note that "false"
as an ENV value will be treated as 0, since `to_i` is called.

This is the smallest possible change, but there's a high degree of
coupling between read_timeout_property and initialize. Consider a
rewrite to encapsulate the logic of handling the existence of ENV
settings in read_timeout_property.
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.

None yet

1 participant