mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-22 04:15:39 +02:00
module/mpd: raise connection retry interval from 1s -> 10s
This commit is contained in:
parent
b7e7ad522f
commit
07d6564e79
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue