From: michael Date: Wed, 28 Jan 2015 16:44:50 +0000 (+0000) Subject: - irc.c:irc_cycle(): increase poll timeout to 50ms X-Git-Tag: 1.1.0beta1~156 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=a17ffe7c1c78e7c2f954a6648100e922227151b3;p=hopm.git - irc.c:irc_cycle(): increase poll timeout to 50ms git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5434 82007160-df01-0410-b94d-b575c5fd34c7 --- 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: