-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PeeringDB API rate-limiting workaround
close #139 The `clients-from-peeringdb` command performs multiple PDB API calls sequentially to obtain ASNs' info. Users reported some errors related to 429s and an investigation on the PeeringDB side showed some logs where those API calls were made without any API key. Even though I was not able to reproduce the issue (all the API calls were made with the proper API key) I introduce here this workaround to reduce the n. of calls made in one minute, to match the limit on the PeeringDB side.
- Loading branch information
Showing
1 changed file
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters