Timeout when searching in a particular project ActionView::Template::Error: PG::QueryCanceled
https://sentry.gitlap.com/gitlab/gitlabcom/issues/137668/
PG::QueryCanceled: ERROR: canceling statement due to statement timeout
lib/gitlab/project_search_results.rb:33:in `notes_count'
@notes_count ||= notes.count
app/views/search/_category.html.haml:35:in `block in _app_views_search__category_html_haml__3939273907605095301_70250000684340'
= @search_results.notes_count
app/views/search/_category.html.haml:32:in `_app_views_search__category_html_haml__3939273907605095301_70250000684340'
= link_to search_filter_path(scope: 'notes') do
app/views/search/show.html.haml:8:in `_app_views_search_show_html_haml___879385970859290430_70250021805920'
= render 'search/category'
lib/gitlab/i18n.rb:47:in `with_locale'
yield
Omitting the query because it seems sensitive. There are a few instances of this error since the latest deployment to GitLab.com
Edited by Mark Fletcher