Increase max-per-add to 10000

This commit is contained in:
craig.p.drummond
2013-12-30 12:14:49 +00:00
parent 64b9b6c726
commit a035648dd9
3 changed files with 3 additions and 3 deletions

2
README
View File

@@ -359,7 +359,7 @@ mpdPoll=<Boolean>
mpdListSize=<Integer>
This config controls the maximum number of files sent in 1 chunk of an
"add" command when adding files to the playqueue.
Default is 2000. (Values 100..65535 are acceptable)
Default is 10000. (Values 100..65535 are acceptable)
e.g.
[General]

View File

@@ -847,7 +847,7 @@ bool Settings::mpdPoll()
int Settings::mpdListSize()
{
int v=GET_INT("mpdListSize", 2000);
int v=GET_INT("mpdListSize", 10000);
return RESTRICT(v, 100, 65535);
}

View File

@@ -52,7 +52,7 @@ void MPDConnection::enableDebug()
static const int constSocketCommsTimeout=2000;
static const int constMaxReadAttempts=4;
static int maxFilesPerAddCommand=2000;
static int maxFilesPerAddCommand=10000;
#ifdef ENABLE_KDE_SUPPORT
K_GLOBAL_STATIC(MPDConnection, conn)