From: Adam Dickmeiss Date: Thu, 20 Feb 2003 15:13:28 +0000 (+0000) Subject: Improve net I/O performance for server. X-Git-Tag: YAZ.2.0~24 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=c3d11e6358396ceeb96b3051ea2d567d1c052618;p=yaz-moved-to-github.git Improve net I/O performance for server. --- 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) {