[aur-general] AUR package metadata dump
amdmi3 at amdmi3.ru
Fri Nov 16 16:34:00 UTC 2018
* brent s. (bts at square-r00t.net) wrote:
> >> While fetching data from API, Repology does a 1 second pause between
> >> requests to not create excess load on the server, but there are still
> >> frequent 429 errors. I've tried 2 second delays, but the 429s are still
> >> there, and fetch time increases dramatically as we have to do more than
> >> 500 requests. Probably API is loaded by other clients as well.
> > Our rate limit is 4000 per 24 hours. One-second pauses aren't taken into
> > account, and our initial motivation to add rate limiting was to ban
> > users who were using 5-second delays...
> don't forget about the URI max length, too. staggering into requests of
> 100 pkgs would work fine, but worth noting the max length is 4443 bytes
Actually it does work fine with URL lengths up to 8k.
Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru ..: https://github.com/AMDmi3
More information about the aur-general