librariesio / libraries.io

:books: The Open Source Discovery Service
https://libraries.io
GNU Affero General Public License v3.0
1.1k stars 206 forks source link

PackageManager::Go.find_project_names: skip certain hosts #3313

Closed tiegz closed 4 months ago

tiegz commented 4 months ago

when we lookup Go Module names that we can't find to check for an alternative path to use, there are certain hosts that will be slow to respond. This adds a list of hosts that we want to explicitly skip when looking up Go Modules in find_project_names so we don't hold up /api/checks requests.