Skip to content

Commit

Permalink
chore: increase cpu usage safety threshold to 90%
Browse files Browse the repository at this point in the history
This is a temporary measure for running an upscaling comparison.

The commit will be reverted.
  • Loading branch information
jacderida committed Jan 6, 2025
1 parent 6ec9478 commit 43d1e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ant-node/src/bin/antnode/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ You can check your reward balance by running:
use rand::{thread_rng, Rng};

const CPU_CHECK_INTERVAL: Duration = Duration::from_secs(60);
const CPU_USAGE_THRESHOLD: f32 = 50.0;
const CPU_USAGE_THRESHOLD: f32 = 90.0;
const HIGH_CPU_CONSECUTIVE_LIMIT: u8 = 5;
const NODE_STOP_DELAY: Duration = Duration::from_secs(1);
const INITIAL_DELAY_MIN_S: u64 = 10;
Expand Down

0 comments on commit 43d1e82

Please sign in to comment.