"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
fshttp: don't print token bucket errors on context cancelled
Nick Craig-Woode6378daadf1b
diff --git a/fs/fshttp/http.go b/fs/fshttp/http.goindex cb4e219ac..db1face8b 100644--- a/fs/fshttp/http.go+++ b/fs/fshttp/http.go@@ -318,7 +318,7 @@ func (t *Transport) RoundTrip(req *http.Request) (resp *http.Response, err error// Get transactions per second token first if limitingif tpsBucket != nil {tbErr := tpsBucket.Wait(req.Context())- if tbErr != nil {+ if tbErr != nil && tbErr != context.Canceled {fs.Errorf(nil, "HTTP token bucket error: %v", tbErr)}}