hot-fix: reduce node status check time before timeout (#578)

This commit is contained in:
MacLikorne
2022-01-26 15:18:00 +01:00
committed by GitHub
parent 862caaa428
commit 77302e353b

View File

@@ -935,7 +935,7 @@ pub fn check_workers_status<P>(kubernetes_config: P, envs: Vec<(&str, &str)>) ->
where
P: AsRef<Path>,
{
let result = retry::retry(Fixed::from_millis(10000).take(360), || {
let result = retry::retry(Fixed::from_millis(10000).take(60), || {
match kubectl_exec_get_node(kubernetes_config.as_ref(), envs.clone()) {
Err(e) => OperationResult::Retry(e),
Ok(nodes) => {