From 339a51957c1a319c2fc4368f77e45823a7a4ad56 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Thu, 28 May 2020 11:08:48 +1200 Subject: [PATCH] Increase timeout for rename retries. Per #1912 McAfee users are still seeing contention on directory renames. Give McAfee more settle time. --- src/utils/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.rs b/src/utils/utils.rs index e87a16a6aa..dd1231e8ab 100644 --- a/src/utils/utils.rs +++ b/src/utils/utils.rs @@ -587,7 +587,7 @@ where // for our previous poor performance that avoided the race condition with // McAfee and Norton. retry( - Fibonacci::from_millis(1).map(jitter).take(21), + Fibonacci::from_millis(1).map(jitter).take(26), || match fs::rename(src, dest) { Ok(()) => OperationResult::Ok(()), Err(e) => match e.kind() {