From 8da36e999829158f06814ec9daec504ad56654e3 Mon Sep 17 00:00:00 2001 From: Gilbert Chen Date: Fri, 17 Nov 2017 12:44:12 -0500 Subject: [PATCH] Increase VSS operation timeouts --- src/duplicacy_shadowcopy_windows.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/duplicacy_shadowcopy_windows.go b/src/duplicacy_shadowcopy_windows.go index 7cdc4af..e2c187e 100644 --- a/src/duplicacy_shadowcopy_windows.go +++ b/src/duplicacy_shadowcopy_windows.go @@ -416,7 +416,7 @@ func CreateShadowCopy(top string, shadowCopy bool) (shadowTop string) { return top } - if !async.Wait(20) { + if !async.Wait(60) { LOG_ERROR("VSS_GATHER", "Shadow copy creation failed: GatherWriterMetadata didn't finish properly") return top } @@ -456,7 +456,7 @@ func CreateShadowCopy(top string, shadowCopy bool) (shadowTop string) { return top } - if !async.Wait(20) { + if !async.Wait(60) { LOG_ERROR("VSS_PREPARE", "Shadow copy creation failed: PrepareForBackup didn't finish properly") return top } @@ -473,7 +473,7 @@ func CreateShadowCopy(top string, shadowCopy bool) (shadowTop string) { return top } - if !async.Wait(60) { + if !async.Wait(180) { LOG_ERROR("VSS_SNAPSHOT", "Shadow copy creation failed: DoSnapshotSet didn't finish properly") return top }