Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-1139

Too many CoverArtArchive calls results in 429 status codes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Normal Normal
    • None
    • None
    • None

      I hadn't realized because my listens are so often from Spotify (in which case we load the image art from their API) that when you have a full page of listens with a matched release MBID, the number of calls to the CAA results in a lot of them erroring with status code 429 (too many requests).

      We should rate-limit the calls to the CAA, but I'm not sure how to do that considering currently each ListenCard component does its own call without knowledge of the other components.
      At the very least, we can special-case a 429 status and retry after a bit. Eventually the cover art will all be loaded.

            mr_monkey Monkey
            mr_monkey Monkey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package