diff --git a/src/agent/src/sandbox.rs b/src/agent/src/sandbox.rs index 175304ed1..1202bd793 100644 --- a/src/agent/src/sandbox.rs +++ b/src/agent/src/sandbox.rs @@ -433,7 +433,7 @@ fn online_resources(logger: &Logger, path: &str, pattern: &str, num: i32) -> Res } // max wait for all CPUs to online will use 50 * 100 = 5 seconds. -const ONLINE_CPUMEM_WATI_MILLIS: u64 = 50; +const ONLINE_CPUMEM_WAIT_MILLIS: u64 = 50; const ONLINE_CPUMEM_MAX_RETRIES: i32 = 100; #[instrument] @@ -463,7 +463,7 @@ fn online_cpus(logger: &Logger, num: i32) -> Result { ); return Ok(num); } - thread::sleep(time::Duration::from_millis(ONLINE_CPUMEM_WATI_MILLIS)); + thread::sleep(time::Duration::from_millis(ONLINE_CPUMEM_WAIT_MILLIS)); } Err(anyhow!(