From b5005d910ce6e1d19cdf4a52dde80b24dcd4563e Mon Sep 17 00:00:00 2001 From: JinmingHu Date: Thu, 12 Nov 2020 14:04:38 +0800 Subject: [PATCH] default concurrency from 1 to 5 (#952) --- .../inc/azure/storage/blobs/blob_options.hpp | 4 ++-- .../inc/azure/storage/files/datalake/datalake_options.hpp | 4 ++-- .../inc/azure/storage/files/shares/share_options.hpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp index 197c627fd..99a3a57ee 100644 --- a/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp +++ b/sdk/storage/azure-storage-blobs/inc/azure/storage/blobs/blob_options.hpp @@ -756,7 +756,7 @@ namespace Azure { namespace Storage { namespace Blobs { /** * @brief The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 1; + int Concurrency = 5; }; /** @@ -991,7 +991,7 @@ namespace Azure { namespace Storage { namespace Blobs { /** * @brief The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 1; + int Concurrency = 5; }; /** diff --git a/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp b/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp index 0ed25808f..588d1e8d1 100644 --- a/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp +++ b/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_options.hpp @@ -744,7 +744,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { /** * @brief The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 1; + int Concurrency = 5; }; using ScheduleFileExpiryOriginType = Blobs::Models::ScheduleBlobExpiryOriginType; @@ -809,7 +809,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { /** * @brief The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 1; + int Concurrency = 5; }; using AcquirePathLeaseOptions = Blobs::AcquireBlobLeaseOptions; diff --git a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp index ebea22410..2e4a72693 100644 --- a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp +++ b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp @@ -840,7 +840,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { /** * @brief The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 1; + int Concurrency = 5; }; /** @@ -928,6 +928,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { /** * @brief The maximum number of threads that may be used in a parallel transfer. */ - int Concurrency = 1; + int Concurrency = 5; }; }}}} // namespace Azure::Storage::Files::Shares