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

influx_writer doesn't define ERROR_RETRY_DELAY

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: gsoc release
    • Component/s: None
    • Labels:

      Description

      influx_writer.py checks in a number of places for configuration items, and if they don't exist it tries to sleep and then try again, however it sometime tries to sleep for ERROR_RETRY_DELAY seconds instead of self.ERROR_RETRY_DELAY

      https://github.com/metabrainz/listenbrainz-server/blob/30eea102a990e6bf93cfffa7ad66e24b6b51b52f/listenbrainz/influx_writer/influx_writer.py#L224
      https://github.com/metabrainz/listenbrainz-server/blob/30eea102a990e6bf93cfffa7ad66e24b6b51b52f/listenbrainz/influx_writer/influx_writer.py#L238

       

       

        Attachments

          Activity

            People

            • Assignee:
              uditgulati0 Udit Gulati
              Reporter:
              alastairp Alastair Porter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                gsoc release