Allow to configure LFS link batch size via environment variable

What does this MR do and why?

Based on !152038 (closed). Thank you @cwaninger for your contribution! 🙇

Problem

It's possible to configure MAX_OIDS value for LFS linking, but BATCH_SIZE is hardcoded.

Solution

Define GITLAB_LFS_LINK_BATCH_SIZE environment variable to control the batch size.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading