id | title | hide_title |
---|---|---|
faastjs.commonoptions.rate |
CommonOptions.rate property |
true |
faastjs > CommonOptions > rate
Rate limit invocations (invocations/sec). Default: no rate limit.
Signature:
rate?: number;
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.