You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,13 @@ const worker = new StepFunctionWorker({
40
40
41
41
Since version **3.0**, `concurrency` has been replaced by `poolConcurrency` and `taskConcurrency`.
42
42
43
+
see more information in https://github.com/piercus/step-function-worker/issues/16#issuecomment-486971866
44
+
43
45
*`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`)
44
46
45
47
Increase this to have a more responsive worker, decrease this to consume less http connections.
46
48
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`).
50
50
51
51
Anyway, you should always have `poolConcurrency` <= `taskConcurrency`.
0 commit comments