[go: up one dir, main page]

Skip to content

Projects::BranchesController#index: Gitaly timeout error

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem

For large repositories like GitLab, branches page takes a while to load: https://gitlab.com/gitlab-org/gitlab/-/branches.

In some cases Gitaly response triggers a fast_timeout (10 seconds) and cancels the response:

https://log.gprd.gitlab.net/app/r/s/UAory

FindAllBranches method can be slow

Screenshot_2024-08-26_at_10.39.15

How to reproduce

https://gitlab.com/gitlab-org/gitlab/-/branches?state=all&sort=updated_desc&search=17-11-stable

Proposal

Investigate options to improve the performance. Potential ideas:

  1. Add limits on FindAllBranches
  2. Explore other endpoints to get a list of branches
  3. Check if FindAllBranches is necessary

Related issues

Edited by 🤖 GitLab Bot 🤖