-
Notifications
You must be signed in to change notification settings - Fork 33
Making over a 100 concurrent requests to GitHub API #290
Comments
There are two places when multiple Github requests are in flight at the same time. https://github.com/webuildorg/webuild-repos/blob/master/repos/index.js#L286 and https://github.com/webuildorg/webuild-repos/blob/master/repos/index.js#L216 ... these need to be serialised to a certain extent. Using something like https://github.com/charto/cwait could help to limit the number of calls being done in parallel. |
More information:
|
If no one is working on this, I could give it a shot. ✌️😊 |
We're also seeing this:
|
So I'd like to write some tests so I know my implementation works, but it seems like the code isn't currently being tested. What's the best way to test this? I was thinking I could maybe stub everything and listen to the Promise calls. Any suggestions? Or would you prefer I submit my changes (dare I say it) without tests? 🙀 |
haha just send whatever you have in a pull request to a branch and then we can chat on the code / whether to test? 😉 Thank you @jsstrn 🤗 |
The text was updated successfully, but these errors were encountered: