platogo/geoip-elixir

Figure out a smarter way to not refresh the db on every test run?

Closed this issue · 0 comments

At the moment, with no extra configuration, any app that has geoip as a dependency, will try to refresh the DB on each app start, regardless of environment.

This is really slow and pointless, maybe we can disable it by default for test env completely, or expose more configuration options? Maybe also not rely on GenServer state, but use a persistent cache?