A package needing the Config struct, while also getting started by Start(), will create a circular dependency (which isn't allowed). In this diff, I separate the config into a separate package so multiple packages can call its functions.
This will unblock the job runner, which also connects to the DB and requires access to the Config struct.
No expected change in functionality. Tested locally.
A package needing the Config struct, while also getting started by Start(), will create a circular dependency (which isn't allowed). In this diff, I separate the config into a separate package so multiple packages can call its functions.
This will unblock the job runner, which also connects to the DB and requires access to the Config struct.
No expected change in functionality. Tested locally.