"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
Retry when we get a "500 Internal server error".
Klaus Post6ac7145d2da5
diff --git a/amazonclouddrive/amazonclouddrive.go b/amazonclouddrive/amazonclouddrive.goindex b440179af..565e47f80 100644--- a/amazonclouddrive/amazonclouddrive.go+++ b/amazonclouddrive/amazonclouddrive.go@@ -129,10 +129,14 @@ func shouldRetry(resp *http.Response, err error) (bool, error) {if err != nil && resp != nil && resp.StatusCode == 429 {return true, err}+ // Retry on occasional 500 Internal Server Error+ if err != nil && resp != nil && resp.StatusCode == 500 {+ return true, err+ }return false, err}-// NewFs contstructs an FsAcd from the path, container:path+// NewFs constructs an FsAcd from the path, container:pathfunc NewFs(name, root string) (fs.Fs, error) {root = parsePath(root)oAuthClient, err := oauthutil.NewClient(name, acdConfig)