Skip to content

Conversation

@alanj853
Copy link

@alanj853 alanj853 commented Feb 9, 2024

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

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

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 ?

Copy link
Author

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.

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

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 ?

Copy link
Author

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"

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.

3 participants