text-runner icon indicating copy to clipboard operation
text-runner copied to clipboard

check external links using a global worker queue

Open kevgo opened this issue 6 years ago • 2 comments
trafficstars

When running Text-Runner in parallel over many code bases I want that external links are checked using a worker queue So that Text-Runner does not not overload the operating system with too many network calls and crashes.

  • external links are checked in a global worker queue that applies to all Text-Runner instantiations in the current Node instance

kevgo avatar Dec 03 '18 15:12 kevgo

use https://github.com/sindresorhus/p-limit

kevgo avatar Dec 05 '18 15:12 kevgo

or https://github.com/sindresorhus/p-queue

kevgo avatar Dec 05 '18 15:12 kevgo