faastjs > CommonOptions > rate
CommonOptions.rate property
Rate limit invocations (invocations/sec). Default: no rate limit.
Signature:
rate?: number;
Remarks
Some services cannot handle more than a certain number of requests per second, and it is easy to overwhelm them with a large number of cloud functions. Specify a rate limit in invocation/second to restrict how faast.js issues requests.