Skip to content

Limit max index size for Snippet content

Mark Chao requested to merge 12111-snippet-index into master

The CE port is at https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31883

What does this MR do?

To avoid indexing timeout. 1 MB is chosen because it is repo index limit per file, and snippet will soon be migrated from database to repo.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Related to #12111 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports