From c3d11e6358396ceeb96b3051ea2d567d1c052618 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 20 Feb 2003 15:13:28 +0000 Subject: [PATCH] Improve net I/O performance for server. --- server/eventl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/eventl.c b/server/eventl.c index 2d528f2..d430dc1 100644 --- a/server/eventl.c +++ b/server/eventl.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: eventl.c,v 1.37 2003-02-18 11:59:14 adam Exp $ + * $Id: eventl.c,v 1.38 2003-02-20 15:13:28 adam Exp $ */ #include @@ -69,7 +69,7 @@ int event_loop(IOCHAN *iochans) FD_ZERO(&out); FD_ZERO(&except); to.tv_sec = 3600; - to.tv_usec = 1; + to.tv_usec = 0; max = 0; for (p = *iochans; p; p = p->next) { -- 1.7.10.4