Add application config as lazy-initialized global #192
Labels
enhancement
Enhancement of existing code
good first contribution
Good for newcomers
help wanted
Extra attention is needed
Instead of passing the
Config
struct around and cloning it, instead lazily initialize it using e.g. lazy-static, or once_cell as described here:#189 (comment)
Implement in a way, so different config values are still testable.
The text was updated successfully, but these errors were encountered: