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

Rewrite the last.fm importer retry logic to be iterative.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Currently the retry logic in the APIService file for submit-listens recursively calls the same function if there's a rate limit error or something similar.

       

      This is risky as it can lead to heap overflows in the real world. We should change this logic to be iterative instead.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              iliekcomputers Param Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package