SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
reset wait time on a successful retry
chrislu25b237b83ca3
diff --git a/weed/util/retry.go b/weed/util/retry.goindex 6be052f77b..997fa5d138 100644--- a/weed/util/retry.go+++ b/weed/util/retry.go@@ -18,6 +18,7 @@ func Retry(name string, job func() error) (err error) {if hasErr {glog.V(0).Infof("retry %s successfully", name)}+ waitTime = time.Secondbreak}if strings.Contains(err.Error(), "transport") {@@ -41,6 +42,7 @@ func MultiRetry(name string, errList []string, job func() error) (err error) {if hasErr {glog.V(0).Infof("retry %s successfully", name)}+ waitTime = time.Secondbreak}if containErr(err.Error(), errList) {