travelping / ergw

erGW - Erlang implementations of GGSN or P-GW

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shuffle the config loading to make it available earlier

vkatsuba opened this issue · comments

erGW version

2.8.5

Description

Our configuration loading and checking always had problems with when to load and apply what. This reshuffle the part to separate configuration validation and the actual application of the handler and socket config.

Current behavior

The configuration loading and checking occurs after initialization of some components.

Expected behavior

The configuration loading and checking should happen before starting and initializing components.