• Zeger-Jan van de Weg's avatar
    Load repository language from the DB if detected · abe8cbe9
    Zeger-Jan van de Weg authored
    The repository charts page used to detect the repository language for
    each request that was made to the page. Given the detection is an
    expensive operation and the same data is stored in the database the
    database is now serving the request.
    The same goes for an API endpoint that serves the languages.
    When a repository is empty or non-existent the languages will always be
    empty. And the language detection RPC isn't requested.
    Closes: https://gitlab.com/gitlab-org/gitlab-ce/issues/47390
zj-load-languages-from-database.yml 120 Bytes