From b053b9b9e5c33687451b64bf3c4f0477f4a69105 Mon Sep 17 00:00:00 2001 From: hal3e Date: Thu, 19 Dec 2024 00:28:02 +0100 Subject: [PATCH] chore: disable pruner --- committer/src/main.rs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/committer/src/main.rs b/committer/src/main.rs index 0473d0c7..9b9bf2d6 100644 --- a/committer/src/main.rs +++ b/committer/src/main.rs @@ -92,18 +92,22 @@ async fn main() -> Result<()> { finalization_metric, ); - let state_pruner_handle = setup::state_pruner( - storage.clone(), - cancel_token.clone(), - &metrics_registry, - &config, - ); + // Enable pruner once the issue is resolved + //TODO: https://github.com/FuelLabs/fuel-block-committer/issues/173 + // let state_pruner_handle = setup::state_pruner( + // storage.clone(), + // cancel_token.clone(), + // &metrics_registry, + // &config, + // ); handles.push(state_committer_handle); handles.push(state_importer_handle); handles.push(block_bundler); handles.push(state_listener_handle); - handles.push(state_pruner_handle); + // Enable pruner once the issue is resolved + //TODO: https://github.com/FuelLabs/fuel-block-committer/issues/173 + // handles.push(state_pruner_handle); } launch_api_server(