Skip to content

Make max LFS OID limit configurable

What does this MR do and why?

This is a MVC workaround for #411836 (comment 1637478511) as suggested on #411836 (comment 1637478511). When forking a project a large number of LFS objects, above the MAX_OID limit. The forked project fails silently to link any LFS object.

This MR makes this value configurable through the environmental variable GITLAB_LFS_MAX_OID_TO_FETCH

Screenshots or screen recordings

na

How to set up and validate locally

na

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #411836 (closed)

Edited by Gerardo Gutierrez

Merge request reports