mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
azureblob: update to SDK 0.15.0 to Fix memory leak
This also adjusts the API breakage on the SetTier call See: https://github.com/Azure/azure-storage-blob-go/issues/253 See: https://forum.rclone.org/t/ask-for-settings-recommendation-for-azureblob/21505/37 See: https://forum.rclone.org/t/new-azure-sdk-version-0-15-0-memory-leak-fix/30450
This commit is contained in:
@@ -1776,7 +1776,7 @@ func (o *Object) SetTier(tier string) error {
|
||||
blob := o.getBlobReference()
|
||||
ctx := context.Background()
|
||||
err := o.fs.pacer.Call(func() (bool, error) {
|
||||
_, err := blob.SetTier(ctx, desiredAccessTier, azblob.LeaseAccessConditions{})
|
||||
_, err := blob.SetTier(ctx, desiredAccessTier, azblob.LeaseAccessConditions{}, azblob.RehydratePriorityNone)
|
||||
return o.fs.shouldRetry(ctx, err)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user