pmc: reduce the message time out waiting for replies.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
5b099afec7
commit
3710004596
2
pmc.c
2
pmc.c
|
@ -553,7 +553,7 @@ int main(int argc, char *argv[])
|
||||||
if (pollfd[0].revents & POLLHUP) {
|
if (pollfd[0].revents & POLLHUP) {
|
||||||
if (tmo == -1) {
|
if (tmo == -1) {
|
||||||
/* Wait a bit longer for outstanding replies. */
|
/* Wait a bit longer for outstanding replies. */
|
||||||
tmo = 1000;
|
tmo = 100;
|
||||||
pollfd[0].fd = -1;
|
pollfd[0].fd = -1;
|
||||||
pollfd[0].events = 0;
|
pollfd[0].events = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue