aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine/sockpool.h
diff options
context:
space:
mode:
authorkulikov <kulikov@yandex-team.ru>2022-02-10 16:49:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:34 +0300
commitc707901605d7b7c6cba0998cd52e1ae619c97762 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/coroutine/engine/sockpool.h
parent65e5266709e7ff94b14ae128309e229de714b0df (diff)
downloadydb-c707901605d7b7c6cba0998cd52e1ae619c97762.tar.gz
Restoring authorship annotation for <kulikov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine/sockpool.h')
-rw-r--r--library/cpp/coroutine/engine/sockpool.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/coroutine/engine/sockpool.h b/library/cpp/coroutine/engine/sockpool.h
index 2afd5c709a..1ebb7e7b38 100644
--- a/library/cpp/coroutine/engine/sockpool.h
+++ b/library/cpp/coroutine/engine/sockpool.h
@@ -93,7 +93,7 @@ public:
: Impl_(nullptr)
{
}
-
+
TPooledSocket(TImpl* impl)
: Impl_(impl)
{
@@ -178,7 +178,7 @@ public:
} else {
ret = AllocateMore(conn);
}
-
+
ret.Impl_->Touch();
return ret;
@@ -189,10 +189,10 @@ public:
alive->Touch();
socket = TPooledSocket(alive);
return true;
- }
+ }
return false;
}
-
+
private:
TPooledSocket::TImpl* GetImpl() {
TGuard<TMutex> guard(Mutex_);