linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Make max tree size configurable and throw when hit

Open lildude opened this issue 6 months ago • 0 comments

Description

The size of repositories we consider for analysis is currently hardcoded to 100k objects and returns an empty result without any reasoning.

This PR makes it configurable and throws an exception when this is hit.

This will need changes on the GitHub side of things to accommodate this change before this can be merged and deployed.

  • Closes https://github.com/github-linguist/linguist/issues/6550

  • [x] I am adding new or changing current functionality

    • [x] I have added or updated the tests for the new or changed functionality.

lildude avatar Dec 14 '23 08:12 lildude