summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-05-14 15:55:54 +0100
committerPeter Powell <petpow@saberuk.com>2019-05-14 16:02:00 +0100
commit5dda6401e5f7ed7479454b372fbee07f94047fcf (patch)
tree8fa4643e9c270d93ee8d303566b16102d8d9607b
parentfb507ecec27b3e374b02cd208b87977814c726cf (diff)
epoll: use a default list size of 16 to match other socket engines.
-rw-r--r--src/socketengines/socketengine_epoll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengines/socketengine_epoll.cpp b/src/socketengines/socketengine_epoll.cpp
index 60b365ee1..5a796a49d 100644
--- a/src/socketengines/socketengine_epoll.cpp
+++ b/src/socketengines/socketengine_epoll.cpp
@@ -31,7 +31,7 @@ namespace
/** These are used by epoll() to hold socket events
*/
- std::vector<struct epoll_event> events(1);
+ std::vector<struct epoll_event> events(16);
}
void SocketEngine::Init()