aboutsummaryrefslogtreecommitdiffstats
path: root/util/network
diff options
context:
space:
mode:
authoragalakhov <agalakhov@yandex-team.ru>2022-02-10 16:49:51 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:51 +0300
commit61a83e458f803c69f5d9d74e5d716cb95b3f2225 (patch)
treec63ac6b8d61f5c83d025f4b0863f3a2235c6fa39 /util/network
parent9622b1b611a91d945eb942671e7ad62d44878b66 (diff)
downloadydb-61a83e458f803c69f5d9d74e5d716cb95b3f2225.tar.gz
Restoring authorship annotation for <agalakhov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/network')
-rw-r--r--util/network/pollerimpl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/network/pollerimpl.h b/util/network/pollerimpl.h
index e8c7e40fba..b4d44fcc7b 100644
--- a/util/network/pollerimpl.h
+++ b/util/network/pollerimpl.h
@@ -190,15 +190,15 @@ private:
#if defined(HAVE_EPOLL_POLLER)
static inline int ContEpollWait(int epfd, struct epoll_event* events, int maxevents, int timeout) noexcept {
- int ret;
+ int ret;
- do {
+ do {
ret = epoll_wait(epfd, events, maxevents, Min<int>(timeout, 35 * 60 * 1000));
- } while (ret == -1 && errno == EINTR);
-
- return ret;
-}
+ } while (ret == -1 && errno == EINTR);
+ return ret;
+}
+
template <class TLockPolicy>
class TEpollPoller {
public: