Uploaded image for project: 'SimplyE 2.0'
  1. SimplyE 2.0
  2. SIMPLY-3961

Overdrive scripts are failing when a single Overdrive API call fails, which can lose data

XMLWordPrintable

      The "Overdrive Format Sweep" and "Overdrive New Title Monitor" scripts will crash if the Overdrive API returns a 500 error, which it seems to be doing pretty frequently at the moment.

      For "Overdrive Format Sweep" this isn't a big deal–we just need to keep running the script. However, right now it's being run once every four hours, and it's crashing after processing less than 2000 books, which means it'll be a very long time before we make it through the entire collection.

      For "Overdrive New Title Monitor" the problem might be more serious. It depends on what exactly is happening in that script, but we might get into a situation where a) we lose data about new titles, data we'd never be able to get back, or b) we build up a backlog of unbounded size because we can never get through the whole backlog without getting a 500 error.

            leonardrichardson Leonard Richardson [X] (Inactive)
            leonardrichardson Leonard Richardson [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: