mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Reduced timeout in select_try() from 5s to 10ms.
This commit is contained in:
parent
1eb089d722
commit
6b8e7b16f6
1 changed files with 2 additions and 2 deletions
4
proc.c
4
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;
|
||||
|
|
Loading…
Reference in a new issue