# HG changeset patch # User Alain Mazy # Date 1784211727 -7200 # Node ID 6f6e2f9816066d13ea3884f45c2f34ece75a8bcd # Parent 760a192747f9f8e07caaddf5e0d2850bce272bf7 MaxConnections diff -r 760a192747f9 -r 6f6e2f981606 Aws/AwsS3StoragePlugin.cpp --- a/Aws/AwsS3StoragePlugin.cpp Mon Jun 22 16:35:01 2026 +0200 +++ b/Aws/AwsS3StoragePlugin.cpp Thu Jul 16 16:22:07 2026 +0200 @@ -546,6 +546,7 @@ pluginSection.GetUnsignedIntegerValue("ConnectionTimeout", connectTimeout); // from v 2.5.1+, both ConnectTimeout and ConnectionTimeout are supported const unsigned int requestTimeout = pluginSection.GetUnsignedIntegerValue("RequestTimeout", 1200); + const unsigned int maxConnections = pluginSection.GetUnsignedIntegerValue("MaxConnections", 25); const bool virtualAddressing = pluginSection.GetBooleanValue("VirtualAddressing", true); const bool enableAwsSdkLogs = pluginSection.GetBooleanValue("EnableAwsSdkLogs", false); const std::string caFile = orthancConfig.GetStringValue("HttpsCACertificates", ""); @@ -576,6 +577,7 @@ configuration.connectTimeoutMs = connectTimeout * 1000; configuration.requestTimeoutMs = requestTimeout * 1000; configuration.httpRequestTimeoutMs = requestTimeout * 1000; + configuration.maxConnections = maxConnections; if (!endpoint.empty()) { diff -r 760a192747f9 -r 6f6e2f981606 NEWS --- a/NEWS Mon Jun 22 16:35:01 2026 +0200 +++ b/NEWS Thu Jul 16 16:22:07 2026 +0200 @@ -1,3 +1,11 @@ +Pending changes in the mainline +=============================== + +* AWS plugin: + * New configuration "MaxConnections" to define the size of the HTTP connection pool used + by the AWS HTTP Client (default is 25). + + 2026-06-22 - v 2.5.3 ==================== diff -r 760a192747f9 -r 6f6e2f981606 README.md --- a/README.md Mon Jun 22 16:35:01 2026 +0200 +++ b/README.md Thu Jul 16 16:22:07 2026 +0200 @@ -131,6 +131,7 @@ "Endpoint": "", // optional: custom endpoint "ConnectionTimeout": 30, // optional: connection timeout in seconds "RequestTimeout": 1200, // optional: request timeout in seconds (max time to upload/download a file) + "MaxConnections": 25, // optional: number of HTTP connections in the pool used by the AWS HTTP client. "RootPath": "", // optional: folder in which files are stored (ex: my/path/to/myfolder) "StorageEncryption" : {...}, // optional "StorageStructure" : "flat", // optional