-
Notifications
You must be signed in to change notification settings - Fork 72
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
Make min_year and max_year configurable #141
base: master
Are you sure you want to change the base?
Conversation
For systems with limited memory resources, they may not want all of the time data created by default as it increases the size of the ETS table
Make min_year and max_year configurable
size of the ets table created by `:tzdata`. | ||
|
||
```elixir | ||
config :tzdata, :max_year, 2030 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isnt' that a bit too close for comfort ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean? Bearing in mind that this is just an example in the README, it is not in the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah missed the README part, nevermind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is it actually configured to on the system ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"44 years + the current year"
For systems with limited memory resources, they may not want all of the time data created by default as it increases the size of the ETS table