Fix max concurrent requests in tidal
This commit is contained in:
parent
ec2468fb8d
commit
8cc1d48115
|
@ -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_;
|
||||
|
|
Loading…
Reference in New Issue