module/mpd: raise connection retry interval from 1s -> 10s

This commit is contained in:
Daniel Eklöf 2018-12-30 12:40:58 +01:00
parent b7e7ad522f
commit 07d6564e79

View file

@ -283,7 +283,7 @@ run(struct module_run_context *ctx)
break; break;
struct pollfd fds[] = {{.fd = ctx->abort_fd, .events = POLLIN}}; struct pollfd fds[] = {{.fd = ctx->abort_fd, .events = POLLIN}};
int res = poll(fds, 1, 1 * 1000); int res = poll(fds, 1, 10 * 1000);
if (res == 1) { if (res == 1) {
assert(fds[0].revents & POLLIN); assert(fds[0].revents & POLLIN);