Skip to content

Commit 73b9e04

Browse files
committed
BREAKING CHANGE: Redesign the concurrency architecture for 3.0 following #16
1 parent 9ab97b6 commit 73b9e04

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ const worker = new StepFunctionWorker({
4040

4141
Since version **3.0**, `concurrency` has been replaced by `poolConcurrency` and `taskConcurrency`.
4242

43+
see more information in https://github.com/piercus/step-function-worker/issues/16#issuecomment-486971866
44+
4345
* `poolConcurrency` is the maximum number of parallel getActivity, http request (see [`sdk.getActivity`](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/StepFunctions.html#getActivityTask-property)) (default: `1`)
4446

4547
Increase this to have a more responsive worker, decrease this to consume less http connections.
4648

47-
* `taskConcurrency` (`null` means Infinite)
48-
49-
It represent the maximum number of parallel tasks done by the worker (default: equals to `poolConcurrency`).
49+
* `taskConcurrency` (`null` means Infinite) represents the maximum number of parallel tasks done by the worker (default: equals to `poolConcurrency`).
5050

5151
Anyway, you should always have `poolConcurrency` <= `taskConcurrency`.
5252

0 commit comments

Comments
 (0)