Refactor goroutines
a-bali opened this issue · 0 comments
a-bali commented
Currently goroutines are launched at startup for the different types of monitoring, therefore the types of monitoring cannot be changed during runtime (via reloading the config file), only the contents for the different types.
Refactor code so that goroutines are stopped and (re)started upon reloading configuration. Use channels to signal to running goroutines.