Skip to content

[COREAPP-251] status_messages: use vague language in descriptions

Warren Gifford requested to merge jc/COREAPP-251 into main

Created by: unknwon

Previously, we were trying to get the accurate number of repositories that are either cloning or in failed sync state, which both are slow COUNT queries (that needs to scan over entire large tables).

We instead using vague language of "Some repositories ..." to make fast LIMIT 1 queries (that returns on first result). LIMIT 1 is also not behaving as bad as COUNT when no results found at all in terms of execution time.

https://sourcegraph.atlassian.net/browse/COREAPP-251 #done

Merge request reports

Loading