Open juliusl opened 2 weeks ago
On this line https://github.com/Azure/azure-sdk-for-rust/blob/8c4caa251c3903d5eae848b41bb1d02a4d65231c/sdk/storage_blobs/src/clients/blob_client.rs#L51
The comment says,
/// Stream a blob in chunks. /// /// By default, blobs are downloaded in 1MB chunks to reduce the impact of /// intermittent network issues while downloading large blobs.
However, if you look at the code, https://github.com/Azure/azure-sdk-for-rust/blob/8c4caa251c3903d5eae848b41bb1d02a4d65231c/sdk/storage_blobs/src/blob/operations/get_blob.rs#L8
const DEFAULT_CHUNK_SIZE: u64 = 0x1000 * 0x1000;
This value is actually 16 MiB -- (hover over w/ RA in vscode) const DEFAULT_CHUNK_SIZE: u64 = 16777216 (0x1000000)
const DEFAULT_CHUNK_SIZE: u64 = 16777216 (0x1000000)
On this line https://github.com/Azure/azure-sdk-for-rust/blob/8c4caa251c3903d5eae848b41bb1d02a4d65231c/sdk/storage_blobs/src/clients/blob_client.rs#L51
The comment says,
However, if you look at the code, https://github.com/Azure/azure-sdk-for-rust/blob/8c4caa251c3903d5eae848b41bb1d02a4d65231c/sdk/storage_blobs/src/blob/operations/get_blob.rs#L8
This value is actually 16 MiB -- (hover over w/ RA in vscode)
const DEFAULT_CHUNK_SIZE: u64 = 16777216 (0x1000000)