Skip to content

RFC 624: (M2) Harden recognizer gitserver client

Warren Gifford requested to merge ef/33044 into main

Created by: efritz

Add limits to gitserver calls made from the autoindexing inference service. Closes #33044 (closed). In the future if we see issues with large payloads from auto-inference we may want to implement some of the additional ideas described in the linked ticket (large files, maximum number of files per repo, etc). I think rate limiting alone gives excellent coverage today.

Test plan

Adjusted value in unit tests locally to ensure it was hit.

Merge request reports

Loading