From 52214a3195d062bc45522e7da58bbe7611d040f6 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Mar 2007 15:53:34 +0000 Subject: Added OnBufferFlush, improved m_safelist, no longer works on a timer but works on the writeability state of each user who is listing. Seems to test fine with 500 reet bots all listing at once. (doesnt lock up the ircd while listing them all any more, either, just lags a small amount) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6657 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengine_epoll.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/socketengine_epoll.cpp') diff --git a/src/socketengine_epoll.cpp b/src/socketengine_epoll.cpp index 4ed68ca57..732ce1e77 100644 --- a/src/socketengine_epoll.cpp +++ b/src/socketengine_epoll.cpp @@ -113,6 +113,7 @@ int EPollEngine::DispatchEvents() socklen_t codesize; int errcode; int i = epoll_wait(EngineHandle, events, MAX_DESCRIPTORS, 1000); + ServerInstance->Log(DEBUG,"%d events", i); for (int j = 0; j < i; j++) { if (events[j].events & EPOLLHUP) -- cgit v1.3.1-10-gc9f91