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

Recommendation feed GET requests can cause 500 errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.5
    • None
    • None
    • SIMPLY S4 February 4 - 18, SIMPLY S5 Feb 18 - March 3

      I remember investigating this once before and I think I found that it's a race condition: whenever two requests go in for the same book simultaneously, one of them 500s when it's time to write the generated feed to the database.

      This isn't a serious problem on its own, but it clutters the error logs with semi-spurious 500 errors, making it difficult to find more serious errors that crop up.

      I imagine this happens whenever two people enter the detail view for the same book–usually because it is featured on the front page.

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

              Created:
              Updated:
              Resolved: