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
@@ -41,15 +40,15 @@ const worker = new StepFunctionWorker({
41
40
42
41
Since version **3.0**, `concurrency` has been replaced by `poolConcurrency` and `taskConcurrency`.
43
42
44
-
*`taskConcurrency` (`null` means Infinite)
43
+
*`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`)
45
44
46
-
It represent the maximum number of parallel tasks done by the worker (default: `null`).
45
+
Increase this to have a more responsive worker, decrease this to consume less http connections.
47
46
48
-
*`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`)
47
+
*`taskConcurrency` (`null` means Infinite)
49
48
50
-
Increase this to have a more responsive worker.
49
+
It represent the maximum number of parallel tasks done by the worker (default: equals to `poolConcurrency`).
51
50
52
-
Anyway, you should always have `poolConcurrency` < `taskConcurrency`.
51
+
Anyway, you should always have `poolConcurrency` <=`taskConcurrency`.
// throw (new TypeError('step-function-worker `concurrency` parameter is deprectated since version 3.0, see README.md'));
45
+
this.logger.warn('[step-function-worker] `concurrency` parameter is deprectated since version 3.0 please use `poolConcurrency` instead, see README.md');
0 commit comments