am 85453ecc
: dumpstate: increase poll timeout waiting for SIGQUIT logging
* commit '85453ecc90a94564e586f0f97c9ec2c0cf831501': dumpstate: increase poll timeout waiting for SIGQUIT logging
This commit is contained in:
commit
45fcfb48ef
@ -548,7 +548,7 @@ const char *dump_traces() {
|
||||
|
||||
/* wait for the writable-close notification from inotify */
|
||||
struct pollfd pfd = { ifd, POLLIN, 0 };
|
||||
int ret = poll(&pfd, 1, 200); /* 200 msec timeout */
|
||||
int ret = poll(&pfd, 1, 5000); /* 5 sec timeout */
|
||||
if (ret < 0) {
|
||||
fprintf(stderr, "poll: %s\n", strerror(errno));
|
||||
} else if (ret == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user