"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
zoho: try to handle rate limits a bit better
buengeseeceb390152c5
diff --git a/backend/zoho/zoho.go b/backend/zoho/zoho.goindex 34eb8b202..8f0811813 100644--- a/backend/zoho/zoho.go+++ b/backend/zoho/zoho.go@@ -304,8 +304,9 @@ func shouldRetry(ctx context.Context, resp *http.Response, err error) (bool, errfs.Debugf(nil, "Should retry: %v", err)}if resp != nil && resp.StatusCode == 429 {- fs.Errorf(nil, "zoho: rate limit error received, sleeping for 60s: %v", err)- time.Sleep(180 * time.Second)+ err = pacer.RetryAfterError(err, 60*time.Second)+ fs.Debugf(nil, "Too many requests. Trying again in %d seconds.", 60)+ return true, err}return authRetry || fserrors.ShouldRetry(err) || fserrors.ShouldRetryHTTP(resp, retryErrorCodes), err}