shyiko / bower-dependency-tree

Bower dependency tree visualizer
https://www.npmjs.com/package/bower-dependency-tree
9 stars 2 forks source link

Limit concurrent requests #5

Open alber70g opened 7 years ago

alber70g commented 7 years ago

Is it possible to limit the concurrent requests? Our package manager throws 404s when there are too many concurrent requests.

shyiko commented 7 years ago

Hi @Alber70g. Not yet. It should be easy (at first glance) to implement by rate limiting https://github.com/shyiko/bower-dependency-tree/blob/master/src/remote-package-resolver.js#L9 but due to the fact that this module was created to support our legacy codebases (we stopped using bower a long time ago) this feature won't be added unless someone sends a PR. Sorry.