mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
phyp: too much timeout when polling socket
* src/phyp/phyp_driver.c: a 10s timeout on socket availability was way too long, reduced to 1ms
This commit is contained in:
parent
75825e453a
commit
4916936751
@ -2174,8 +2174,8 @@ waitsocket(int socket_fd, LIBSSH2_SESSION * session)
|
||||
fd_set *readfd = NULL;
|
||||
int dir;
|
||||
|
||||
timeout.tv_sec = 10;
|
||||
timeout.tv_usec = 0;
|
||||
timeout.tv_sec = 0;
|
||||
timeout.tv_usec = 1000;
|
||||
|
||||
FD_ZERO(&fd);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user