- irc.c:irc_cycle(): increase poll timeout to 50ms
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Wed, 28 Jan 2015 16:44:50 +0000 (16:44 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Wed, 28 Jan 2015 16:44:50 +0000 (16:44 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5434 82007160-df01-0410-b94d-b575c5fd34c7

src/irc.c

index 198689a249dd85779691a0a990792ae909656661..0a509c868c6658f7bf2ce9287ca233bab3a7a30a 100644 (file)
--- 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: