lyrics: fetch lyrics in background sequentially

This commit is contained in:
Andrzej Rybczak
2016-11-16 09:19:28 +01:00
parent a2862b9fdf
commit 481ed0b1fe

View File

@@ -72,7 +72,7 @@ private:
static size_t itsWorkersNumber;
// maximum number of worker threads. if it's reached, next lyrics requests
// are put into itsToDownload queue.
static const size_t itsMaxWorkersNumber = 4;
static const size_t itsMaxWorkersNumber = 1;
void *Download();
static void *DownloadWrapper(void *);