id | title | hide_title |
---|---|---|
faastjs.commonoptions.concurrency |
CommonOptions.concurrency property |
true |
faastjs > CommonOptions > concurrency
The maximum number of concurrent invocations to allow. Default: 100, except for the local
provider, where the default is 10.
Signature:
concurrency?: number;
The concurrency limit applies to all invocations of all of the faast functions summed together. It is not a per-function limit. To apply a per-function limit, use throttle(). A value of 0 is equivalent to Infinity. A value of 1 ensures mutually exclusive invocations.