fix accidental merge. moved to a branch

This commit is contained in:
Bryan Stitt 2023-01-16 16:56:40 -08:00
parent c831609978
commit 5c03249bda

@ -93,7 +93,10 @@ fn run(
tokio::spawn(frontend::serve(app_frontend_port, spawned_app.app.clone())); tokio::spawn(frontend::serve(app_frontend_port, spawned_app.app.clone()));
// TODO: should we put this in a dedicated thread? // TODO: should we put this in a dedicated thread?
let prometheus_handle = tokio::spawn(metrics_frontend::serve(app_prometheus_port)); let prometheus_handle = tokio::spawn(metrics_frontend::serve(
spawned_app.app.clone(),
app_prometheus_port,
));
// if everything is working, these should both run forever // if everything is working, these should both run forever
tokio::select! { tokio::select! {