volojs / volo

Create front end projects from templates, add dependencies, and automate the resulting projects
https://volojs.github.io/
Other
1.41k stars 100 forks source link

Limit Number of Requests #219

Open thostetler opened 7 years ago

thostetler commented 7 years ago

I recently had an issue during our build process, volo was getting stuck on:

volo add -f -nostamp jquery/qunit/v1.14.0#. <-- Endless loop, eventually exceeds rate_limit

Realized that it's making tons of requests, blowing through my rate limit within a minute or so. The fix ended up being jquery --> qunitjs.

volo add -f -nostamp qunitjs/qunit/v1.14.0#. <-- This works fine, 1 request

But I was wondering if it's a bug that it doesn't recognize that the Url is broken, or if there is an option for limiting the number of requests before it will move on/throw error.