inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 5dda6401e5f7ed7479454b372fbee07f94047fcf
parent fb507ecec27b3e374b02cd208b87977814c726cf
Author: Peter Powell <petpow@saberuk.com>
Date:   Tue, 14 May 2019 15:55:54 +0100

epoll: use a default list size of 16 to match other socket engines.

Diffstat:
Msrc/socketengines/socketengine_epoll.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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()