"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
s3: Added error handling for error code 429 indicating too many requests
Anagh Kumar Baranwal8a429d12cfb1
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 9032587f3..ded801621 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -1346,6 +1346,7 @@ func (f *Fs) Features() *fs.Features {// retryErrorCodes is a slice of error codes that we will retry// See: https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.htmlvar retryErrorCodes = []int{+ 429, // Too Many Requests500, // Internal Server Error - "We encountered an internal error. Please try again."503, // Service Unavailable/Slow Down - "Reduce your request rate"}