Skip to content

Commit

Permalink
docs: needle, not request
Browse files Browse the repository at this point in the history
  • Loading branch information
FauxFaux authored Jan 29, 2020
1 parent 549aaab commit 87e0997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ We expect clients to eventually give up and just retry *without* the header, ski
This implies your application should have other concurrency limiting or queuing in place, if
appropriate. This might just be the node event loop.

There's a wrapper for `request-promise-native` available in `requestWorkerRuns`. This
There's a wrapper for `needle` available in `needleWorkerRuns`. This
will attempt to locate a worker which isn't overloaded, and send the request to it.
If the worker doesn't support this protocol, or a free worker cannot be found,
then the request will be run anyway; the same as if `request` was used directly.
then the request will be run anyway; the same as if `needle` was used directly.


## Example
Expand Down

0 comments on commit 87e0997

Please sign in to comment.