Skip to content
Snippets Groups Projects
Commit 06fb82c9 authored by Mikhail Karnevskiy's avatar Mikhail Karnevskiy
Browse files

Change delay of TCP connection timeout

parent 239b5a82
Branches
Tags
No related merge requests found
......@@ -29,7 +29,7 @@ class SystemIO final : public IO {
#if defined(__linux__) || defined (__APPLE__)
// used to for epoll - assumed single epoll instance per class instance
static constexpr int kMaxEpollEvents = 10;
static constexpr int kMaxEpollEvents = 5; // Was 10 before, changed to decrease timeout
mutable int epoll_fd_ = -1;
Error AddToEpool(SocketDescriptor sd) const;
Error CreateEpoolIfNeeded(SocketDescriptor master_socket) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment