From fbf320bdb7361d53eee3a0143bcbb43b8ac12f6e Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Mon, 22 Jul 2024 12:41:29 +0200 Subject: [PATCH] apply suggestions --- pageserver/src/consumption_metrics.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pageserver/src/consumption_metrics.rs b/pageserver/src/consumption_metrics.rs index c102fe23780a..f94d945d4645 100644 --- a/pageserver/src/consumption_metrics.rs +++ b/pageserver/src/consumption_metrics.rs @@ -51,10 +51,6 @@ pub async fn run( let local_disk_storage = conf.workdir.join("last_consumption_metrics.json"); - // - // Start the metrics collection task - // - let metrics_ctx = RequestContext::todo_child( TaskKind::MetricsCollection, // This task itself shouldn't download anything. @@ -77,10 +73,6 @@ pub async fn run( .instrument(info_span!("metrics_collection")), )); - // - // Start the synthetic size calculation worker - // - let worker_ctx = RequestContext::todo_child(TaskKind::CalculateSyntheticSize, DownloadBehavior::Download); let synthetic_size_worker = BACKGROUND_RUNTIME.spawn(task_mgr::exit_on_panic_or_error(