gitlab-org--gitlab-foss/changelogs/unreleased/zj-load-languages-from-database.yml
Zeger-Jan van de Weg abe8cbe90b Load repository language from the DB if detected
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
2019-02-25 15:15:16 +01:00

5 lines
120 B
YAML

---
title: Load repository language from the database if detected before
merge_request: 25518
author:
type: performance