Fix max concurrent requests in tidal

This commit is contained in:
Jonas Kvinge 2019-06-18 00:02:43 +02:00
parent ec2468fb8d
commit 8cc1d48115
1 changed files with 1 additions and 1 deletions

View File

@ -705,7 +705,7 @@ void TidalRequest::AddAlbumSongsRequest(const int artist_id, const int album_id,
void TidalRequest::FlushAlbumSongsRequests() {
while (!album_songs_requests_queue_.isEmpty() && album_songs_requests_active_ < kMaxConcurrentArtistAlbumsRequests) {
while (!album_songs_requests_queue_.isEmpty() && album_songs_requests_active_ < kMaxConcurrentAlbumSongsRequests) {
Request request = album_songs_requests_queue_.dequeue();
++album_songs_requests_active_;