Open luisguilhermemsalmeida opened 1 year ago
The init/1 function on prometheus_sup is doing intensive work which is delaying the initialization of applications depending on this project. This PR proposes using the handle_continue callback to execute functions async
init/1
prometheus_sup
handle_continue
Possible fix to https://github.com/deadtrickster/prometheus.erl/issues/81
The
init/1
function onprometheus_sup
is doing intensive work which is delaying the initialization of applications depending on this project. This PR proposes using thehandle_continue
callback to execute functions async