From 6caaf6052f345a625f4907f1f34c1ca185fc0a15 Mon Sep 17 00:00:00 2001 From: Diego Prats Date: Tue, 26 Nov 2024 15:50:49 -0800 Subject: [PATCH] rename const --- clients/cli/src/prover.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/cli/src/prover.rs b/clients/cli/src/prover.rs index 61fd340..a940b9a 100644 --- a/clients/cli/src/prover.rs +++ b/clients/cli/src/prover.rs @@ -53,7 +53,7 @@ use zstd::stream::Encoder; use crate::utils::updater::{AutoUpdaterMode, UpdaterConfig}; // The interval at which to send updates to the orchestrator -const ORCHESTRATOR_UPDATE_INTERVAL_IN_SECONDS: u64 = 180; // 3 minutes +const PROOF_PROGRESS_UPDATE_INTERVAL_IN_SECONDS: u64 = 180; // 3 minutes #[derive(Parser, Debug)] struct Args { @@ -231,7 +231,7 @@ async fn main() -> Result<(), Box> { //If it has been three minutes since the last orchestrator update, send the orchestator the update if timer_since_last_orchestrator_update.elapsed().as_secs() - > ORCHESTRATOR_UPDATE_INTERVAL_IN_SECONDS + > PROOF_PROGRESS_UPDATE_INTERVAL_IN_SECONDS { println!( "\tWill try sending update to orchestrator with interval queued_steps_proven: {}",