Closed sheaphillips closed 4 years ago
@patricksimonian a couple of unit tests are failing locally. I took a quick look but fix was not immediately obvious due to lack of familiarity with code base. It probably will be obvious to you. Hoping you can fix it up. If not, LMK and I can sort it out.
Note I have tested this locally with the DevHub (using npm link
) and it works fine. Subjectively build time seems shorter...so maybe request stacking up was actually slowing things down...we'll see I guess.
Summary
We have been getting rate/abuse limited by Github lately due to the number of parallel api calls we are making. This PR introduces rate limiting / throttling using
bottleneck
to prevent this from happening.Notable Changes
bottleneck
dependencybottleneck
proxy/wrapper with a reasonable/recommended config to control number of callsfetch