From 3278f85ec5b295e17dacb9ca053c65a3b3609002 Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 28 Oct 2025 22:16:05 -0700 Subject: [PATCH] adjust comment --- weed/remote_storage/azure/azure_storage_client.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/weed/remote_storage/azure/azure_storage_client.go b/weed/remote_storage/azure/azure_storage_client.go index fecbd4070..6e6db3277 100644 --- a/weed/remote_storage/azure/azure_storage_client.go +++ b/weed/remote_storage/azure/azure_storage_client.go @@ -31,8 +31,9 @@ const ( // DefaultAzureOpTimeout is the timeout for individual Azure blob operations. // This should be larger than the maximum time the Azure SDK client will spend - // retrying (MaxRetries=3 × TryTimeout=10s + retry delays ≈ 33s), so we use 60s - // to provide a reasonable buffer while still failing faster than indefinite hangs. + // retrying. With MaxRetries=3 (4 total attempts) and TryTimeout=10s, the maximum + // time is roughly 4*10s + delays(~7s) = 47s. We use 60s to provide a reasonable + // buffer while still failing faster than indefinite hangs. DefaultAzureOpTimeout = 60 * time.Second )