* commit '45fcfb48ef9e65747e7a3f35e1a4da232f6e161a': dumpstate: increase poll timeout waiting for SIGQUIT logging
This commit is contained in:
commit
bd81c258c2
@ -587,7 +587,7 @@ const char *dump_traces() {
|
|||||||
|
|
||||||
/* wait for the writable-close notification from inotify */
|
/* wait for the writable-close notification from inotify */
|
||||||
struct pollfd pfd = { ifd, POLLIN, 0 };
|
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) {
|
if (ret < 0) {
|
||||||
fprintf(stderr, "poll: %s\n", strerror(errno));
|
fprintf(stderr, "poll: %s\n", strerror(errno));
|
||||||
} else if (ret == 0) {
|
} else if (ret == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user