summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 55d0e26)
raw | patch | inline | side by side (parent: 55d0e26)
author | Max Kellermann <max@duempel.org> | |
Tue, 23 Aug 2011 16:08:51 +0000 (18:08 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 23 Aug 2011 16:08:51 +0000 (18:08 +0200) |
1.5 seconds was not long enough for some MPD operations. The
disadvantage is that the user may have to wait up to 5 seconds without
screen updates, because ncmpc doesn't do full asynchronous I/O yet.
disadvantage is that the user may have to wait up to 5 seconds without
screen updates, because ncmpc doesn't do full asynchronous I/O yet.
NEWS | patch | blob | history | |
src/main.c | patch | blob | history |
index 939688cea8336c9faa5f8b172a35361083d02f9e..3283c414fd000f1e823008dfe4017d047c606be8 100644 (file)
--- a/NEWS
+++ b/NEWS
ncmpc 0.20 - not yet released
+* increase connection timeout to 5 seconds
ncmpc 0.19 - (07/23/2011)
diff --git a/src/main.c b/src/main.c
index 15663df0c9db14facfde74ddd2771319c26ce59e..0b80f04712e65ec2c86fde90a3040389f99e6283 100644 (file)
--- a/src/main.c
+++ b/src/main.c
mpdclient_disconnect(mpd);
success = mpdclient_connect(mpd,
options.host, options.port,
- 1500,
+ 5000,
options.password);
if (!success) {
/* try again in 5 seconds */