Uploaded image for project: 'FTS'
  1. FTS
  2. FTS-435

Return 503 instead of blocking if the server/db is highly load

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • fts-rest 3.4.2
    • REST API
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • None

    Description

      Right now, REST just blocks when trying, for instance, to do a submission, if the database is heavily loaded. If we can catch timeouts on insertion/querying, we can return a "503 Service Unavailable" rather than stay locked and not helping the DB.

      Attachments

        Issue Links

          Activity

            People

              aalvarez Alejandro Alvarez Ayllon (Inactive)
              aalvarez Alejandro Alvarez Ayllon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: