Staging instance, all changes can be removed at any time

Skip to content

Raise specific exception class on query timeouts

vlorentz requested to merge vlorentz/swh-storage:querytimeout into master

So that swh-storage clients can reliably detect if a query errored from a timeout rather than a generic error, and act accordingly (return HTTP 504 and/or a friendly error in swh-web, not report to Sentry, notify Statsd, ...)

TODO: test it in docker or something; I only ran the tests

Merge request reports

Loading