Skip to content

Commit

Permalink
apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
problame committed Jul 22, 2024
1 parent 195a7ab commit fbf320b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pageserver/src/consumption_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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(
Expand Down

0 comments on commit fbf320b

Please sign in to comment.