Skip to content

Commit

Permalink
Reduced timeout in select_try() from 5s to 10ms.
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoskings committed Jul 14, 2009
1 parent 806ac9c commit b064d8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b064d8c

Please sign in to comment.