diff options
author | babenko <babenko@yandex-team.com> | 2023-09-26 08:10:31 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2023-09-26 08:34:35 +0300 |
commit | 24b21d7db6f163c0085a81ba9674e488ed20d3a4 (patch) | |
tree | 17b00c96f1c665d49bdc1d465bfdde0d40af232f | |
parent | e59979638bc2adc44a8892b637e10333bb1ca098 (diff) | |
download | ydb-24b21d7db6f163c0085a81ba9674e488ed20d3a4.tar.gz |
Fix memory order
-rw-r--r-- | yt/yt/core/rpc/service_detail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/yt/core/rpc/service_detail.cpp b/yt/yt/core/rpc/service_detail.cpp index a7420b8f31..387213ac27 100644 --- a/yt/yt/core/rpc/service_detail.cpp +++ b/yt/yt/core/rpc/service_detail.cpp @@ -1384,7 +1384,7 @@ void TRequestQueue::AcquireThrottlers(const TServiceBase::TServiceContextPtr& co void TRequestQueue::SubscribeToThrottlers() { - if (Throttled_.load(std::memory_order::relaxed) || Throttled_.exchange(true, std::memory_order::acquire)) { + if (Throttled_.load(std::memory_order::relaxed) || Throttled_.exchange(true)) { return; } |