From 6b8e7b16f6d4e11e168e3ce2effe2d8f0a53b184 Mon Sep 17 00:00:00 2001 From: Ben Hoskings Date: Tue, 14 Jul 2009 19:53:20 +1000 Subject: [PATCH] Reduced timeout in select_try() from 5s to 10ms. --- proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proc.c b/proc.c index 35dff1d48..09d018bb1 100644 --- a/proc.c +++ b/proc.c @@ -822,8 +822,8 @@ static int select_try( job_t *j ) int retval; struct timeval tv; - tv.tv_sec=5; - tv.tv_usec=0; + tv.tv_sec=0; + tv.tv_usec=10000; retval =select( maxfd+1, &fds, 0, 0, &tv ); return retval > 0;