From 03613b001790acb38dcb73cf26f2c9f8868fc97f Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Mon, 1 Jul 2024 17:04:39 +0000 Subject: [PATCH] slipped a comment in --- .../src/tenant/timeline/walreceiver/walreceiver_connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pageserver/src/tenant/timeline/walreceiver/walreceiver_connection.rs b/pageserver/src/tenant/timeline/walreceiver/walreceiver_connection.rs index f0282e9920..c6ee6b90c4 100644 --- a/pageserver/src/tenant/timeline/walreceiver/walreceiver_connection.rs +++ b/pageserver/src/tenant/timeline/walreceiver/walreceiver_connection.rs @@ -121,7 +121,7 @@ pub(super) async fn handle_walreceiver_connection( // prevent timeline shutdown from finishing until we have exited let _guard = timeline.gate.enter().map_err(|e| match e { - GateError::GateClosed => WalReceiverError::ClosedGate, // this one might be candidate + GateError::GateClosed => WalReceiverError::ClosedGate, })?; // This function spawns a side-car task (WalReceiverConnectionPoller). // Get its gate guard now as well.