[Bug 265708] ports-mgmt/modules2tuple: gomod-vendor hits enterprise API limits on AWS repos

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Aug 2022 17:52:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265708

Dave Cottlehuber <dch@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|New                         |Closed

--- Comment #2 from Dave Cottlehuber <dch@freebsd.org> ---
feedback from github:

> The error is due to a large number of tags on the repository in 
> question. We expect that a large number of tags is exceeding the 
> maximum object size allowed in the internal cache, so the tags are 
> likely being fetched from the repository; this is an expensive 
> operation that is likely contributing to the request being timed out.
> ​
> There's very little we can do about the various timeouts and limits so 
> we suggest instead focusing on the repository itself. The number of 
> tags in a repository typically increases over time, but we generally 
> recommend keeping the total number of references in a repository to a 
> few thousand. I'd assume some existing tags may no longer be required, 
> so it will be great to clean them up. Reducing the number of tags to 
> 2,000 or less is likely to yield the best results.

there we go! I don't see anything we can do further here, and Dmitri
already provided a neat improvement to the port I originally ran
into this issue, so closing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.