cookie-cutter
cookie-cutter copied to clipboard
requestTimeout should be added back in Azure BlobClient package
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.