Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 689 Bytes

faastjs.commonoptions.rate.md

File metadata and controls

22 lines (15 loc) · 689 Bytes
id title hide_title
faastjs.commonoptions.rate
CommonOptions.rate property
true

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.