From 0cd4e120da9617ec0f9dccfeae9e39f842094a84 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Wed, 5 Feb 2025 14:48:49 +0100 Subject: [PATCH] disable flush time measurement --- pageserver/src/page_service.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pageserver/src/page_service.rs b/pageserver/src/page_service.rs index dc0bbb3afb..5ed9012f1a 100644 --- a/pageserver/src/page_service.rs +++ b/pageserver/src/page_service.rs @@ -1077,12 +1077,12 @@ impl PageServerHandler { // what we want to do let flush_fut = pgb_writer.flush(); // metric for how long flushing takes - let flush_fut = match flushing_timer { - Some(flushing_timer) => { - futures::future::Either::Left(flushing_timer.measure(flush_fut)) - } - None => futures::future::Either::Right(flush_fut), - }; + // let flush_fut = match flushing_timer { + // Some(flushing_timer) => { + // futures::future::Either::Left(flushing_timer.measure(flush_fut)) + // } + // None => futures::future::Either::Right(flush_fut), + // }; // do it while respecting cancellation let _: () = async move { tokio::select! {