File tree 1 file changed +3
-0
lines changed 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 5
5
#include < contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/PreallocatedStreamBuf.h>
6
6
#include < contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/stream/ResponseStream.h>
7
7
#include < contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/Aws.h>
8
+ #include < contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include/aws/core/utils/threading/Executor.h>
9
+
8
10
#include < contrib/libs/curl/include/curl/curl.h>
9
11
#include < ydb/library/actors/core/actorsystem.h>
10
12
#include < ydb/library/actors/core/log.h>
@@ -105,6 +107,7 @@ Aws::Client::ClientConfiguration TS3ExternalStorageConfig::ConfigFromSettings(co
105
107
if (settings.HasHttpRequestTimeoutMs ()) {
106
108
config.httpRequestTimeoutMs = settings.GetHttpRequestTimeoutMs ();
107
109
}
110
+ config.executor = std::make_shared<Aws::Utils::Threading::PooledThreadExecutor>(1 );
108
111
config.enableTcpKeepAlive = true ;
109
112
// config.lowSpeedLimit = 0;
110
113
config.maxConnections = 5 ;
You can’t perform that action at this time.
0 commit comments