Skip to content

Commit

Permalink
rename const
Browse files Browse the repository at this point in the history
  • Loading branch information
dprats committed Nov 26, 2024
1 parent 50de24a commit 6caaf60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/cli/src/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -231,7 +231,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {

//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: {}",
Expand Down

0 comments on commit 6caaf60

Please sign in to comment.