1
mirror of https://github.com/rclone/rclone synced 2024-12-02 11:53:45 +01:00

azureblob: use the s3 pacer for 0 delay - fixes #2799

This commit is contained in:
Nick Craig-Wood 2018-11-30 12:21:03 +00:00
parent 5d1d93e163
commit 941ad6bc62

View File

@ -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),
}