diff options
author | hiddenpath <hiddenpath@yandex-team.com> | 2025-01-15 20:17:09 +0300 |
---|---|---|
committer | hiddenpath <hiddenpath@yandex-team.com> | 2025-01-15 21:21:14 +0300 |
commit | bb37d56338bace93813adc51a61936a19acc8edc (patch) | |
tree | 3d771660421001c994e2baf9a40b409d06c7a24b /yt/cpp/mapreduce/raw_client/raw_requests.cpp | |
parent | 9a04c0af35c6a47061b3699089da07acfcf14587 (diff) | |
download | ydb-bb37d56338bace93813adc51a61936a19acc8edc.tar.gz |
YT-23616: Make THttpRawBatchRequest as an implementation of IRawBatchRequest interface
commit_hash:9e6c556686dda1562697762d38da532dc5c87b80
Diffstat (limited to 'yt/cpp/mapreduce/raw_client/raw_requests.cpp')
-rw-r--r-- | yt/cpp/mapreduce/raw_client/raw_requests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt/cpp/mapreduce/raw_client/raw_requests.cpp b/yt/cpp/mapreduce/raw_client/raw_requests.cpp index fd5c59ec20..6ba8a3f084 100644 --- a/yt/cpp/mapreduce/raw_client/raw_requests.cpp +++ b/yt/cpp/mapreduce/raw_client/raw_requests.cpp @@ -265,13 +265,13 @@ TVector<TRichYPath> CanonizeYPaths( const TClientContext& context, const TVector<TRichYPath>& paths) { - THttpRawBatchRequest batch(context.Config); + THttpRawBatchRequest batch(context, retryPolicy); TVector<NThreading::TFuture<TRichYPath>> futures; futures.reserve(paths.size()); for (int i = 0; i < static_cast<int>(paths.size()); ++i) { futures.push_back(batch.CanonizeYPath(paths[i])); } - batch.ExecuteBatch(retryPolicy, context); + batch.ExecuteBatch(); TVector<TRichYPath> result; result.reserve(futures.size()); for (auto& future : futures) { |