Handle query timeouts better
What does this MR do and why?
Handle query timeouts better
We currently get quite a few ActiveRecord::QueryCancelled
errors. This adds handling for this error in the following places:
- The autocomplete web action
- All API actions
Screenshots or screen recordings
How to set up and validate locally
Run test suite in:
spec/requests/api/search_spec.rb:126
spec/controllers/search_controller_spec.rb:325
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.