Closed mach6 closed 3 years ago
@foosinn JFYI - I have been running with these changes for ~6 months -- very large mono repo that does ~250 pipelines per day.. Once combined with the consider-file approach, I haven't seen any rate limit hits ;)
@foosinn Any feedback on this one? Cheers.
Hey @mach6, sadly i've got some critical deadlines to hit mid february. After that i'll have some time to take care about the repos. Sorry for the delay, but i at least want to test it before merging an releasing. Thanks a lot for your awesome contributions anyways!
@foosinn Hope all is well. Just a gentle nudge here -- have you been able to look at this?
Merged an released. Thanks so much!
When drone-tree-config returns a "multi-machine" pipeline to drone, drone can in-turn hit drone-tree-config again for each stage of the "multi-machine" pipeline..
This change set gives drone-tree-config the ability to respond to such "duplicate" requests via an in memory cache.
As a result, the provider API is not leveraged every time and the likelihood of being rate limited is reduced
Example output of the new test;