summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/client.cpp
diff options
context:
space:
mode:
authorhiddenpath <[email protected]>2025-02-08 15:42:05 +0300
committerhiddenpath <[email protected]>2025-02-08 16:00:27 +0300
commit2309a9980fd82ba7df5a21876c790e7e4d776ded (patch)
tree1c17d715ab385e3444ccb610835f14fcb443553e /yt/cpp/mapreduce/client/client.cpp
parentf432cacb199120d2ca3b2c6c4224362cef823a44 (diff)
YT-23616: Switch TYtPoller to IRawClient
commit_hash:30039ea85dc5a55f14b4964ce3aec0a0508d6836
Diffstat (limited to 'yt/cpp/mapreduce/client/client.cpp')
-rw-r--r--yt/cpp/mapreduce/client/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/client/client.cpp b/yt/cpp/mapreduce/client/client.cpp
index 92a255696f8..6d8ce22ce55 100644
--- a/yt/cpp/mapreduce/client/client.cpp
+++ b/yt/cpp/mapreduce/client/client.cpp
@@ -1433,7 +1433,7 @@ TYtPoller& TClient::GetYtPoller()
// We don't use current client and create new client because YtPoller_ might use
// this client during current client shutdown.
// That might lead to incrementing of current client refcount and double delete of current client object.
- YtPoller_ = std::make_unique<TYtPoller>(Context_, ClientRetryPolicy_);
+ YtPoller_ = std::make_unique<TYtPoller>(RawClient_->Clone(), Context_.Config, ClientRetryPolicy_);
}
return *YtPoller_;
}