exponentially / extreme

Elixir Adapter for EventStore
MIT License
130 stars 31 forks source link

use otp app configuration at runtime, not at compile time #63

Closed cuddlecake closed 5 years ago

cuddlecake commented 5 years ago

Currently, the module variable @config is set and evaluated once at compile time.

This breaks releases via distillery, since configuration provided during runtime is not evaluated.

With this merge, the configuration is fetched during start_link, i.e. at runtime.