Skip to content
Snippets Groups Projects

Raise specific exception class on query timeouts

Merged 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading