cookie-cutter icon indicating copy to clipboard operation
cookie-cutter copied to clipboard

requestTimeout should be added back in Azure BlobClient package

Open plameniv opened this issue 3 years ago • 0 comments

The requestTimeout parameter of the IBlobStorageConfiguration has been removed. It used to be passed to the createBlockBlobFromText of the BlobService from the azure-storage package.

This parameter is no longer used during the blob creation coming from package @azure/storage-blob however it can be passed in the constructor for BlobServiceClient as part of StoragePipelineOptions

constructor(url: string, credential?: StorageSharedKeyCredential | AnonymousCredential | TokenCredential, options?: StoragePipelineOptions);

StoragePipelineOptions has a field retryOptions of type StorageRetryOptions which has the tryTimeoutInMs field.

We can add the timeout back in.

plameniv avatar Apr 06 '21 20:04 plameniv