From 6a207f91305b93c1ec79883efd94aed264a1729a Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 28 Jan 2015 16:45:04 +0000 Subject: [PATCH] - irc.c:irc_cycle(): increase poll timeout to 50ms git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5435 82007160-df01-0410-b94d-b575c5fd34c7 --- src/irc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irc.c b/src/irc.c index 198689a..0a509c8 100644 --- a/src/irc.c +++ b/src/irc.c @@ -140,8 +140,8 @@ irc_cycle(void) pfd.fd = IRC_FD; pfd.events = POLLIN; - /* Block .025 seconds to avoid excessive CPU use on poll(). */ - switch (poll(&pfd, 1, 25)) + /* Block .050 seconds to avoid excessive CPU use on poll(). */ + switch (poll(&pfd, 1, 50)) { case 0: case -1: -- 2.30.2