From 941ad6bc62992f5e8fd115ec549e5ed79eae0981 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 30 Nov 2018 12:21:03 +0000 Subject: [PATCH] azureblob: use the s3 pacer for 0 delay - fixes #2799 --- backend/azureblob/azureblob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/azureblob/azureblob.go b/backend/azureblob/azureblob.go index 8938e4184..9449311c0 100644 --- a/backend/azureblob/azureblob.go +++ b/backend/azureblob/azureblob.go @@ -347,7 +347,7 @@ func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) { opt: *opt, container: container, root: directory, - pacer: pacer.New().SetMinSleep(minSleep).SetMaxSleep(maxSleep).SetDecayConstant(decayConstant), + pacer: pacer.New().SetMinSleep(minSleep).SetMaxSleep(maxSleep).SetDecayConstant(decayConstant).SetPacer(pacer.S3Pacer), uploadToken: pacer.NewTokenDispenser(fs.Config.Transfers), client: fshttp.NewClient(fs.Config), }