Add index on ci_commits(gl_project_id)
CREATE INDEX CONCURRENTLY index_ci_commits_on_gl_project_id ON ci_commits (gl_project_id);
This stopped gitlab.com from burning down just now.
CREATE INDEX CONCURRENTLY index_ci_commits_on_gl_project_id ON ci_commits (gl_project_id);
This stopped gitlab.com from burning down just now.