Fix max concurrent requests in tidal
This commit is contained in:
@@ -705,7 +705,7 @@ void TidalRequest::AddAlbumSongsRequest(const int artist_id, const int album_id,
|
|||||||
|
|
||||||
void TidalRequest::FlushAlbumSongsRequests() {
|
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();
|
Request request = album_songs_requests_queue_.dequeue();
|
||||||
++album_songs_requests_active_;
|
++album_songs_requests_active_;
|
||||||
|
|||||||
Reference in New Issue
Block a user