diff --git a/fs/fshttp/http.go b/fs/fshttp/http.go index 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 limiting if 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) } }