tasks.RateLimits interface Stay organized with collections Save and categorize content based on your preferences.
How congestion control should be applied to the function.
Signature:
exportinterfaceRateLimitsProperties
| Property | Type | Description |
|---|---|---|
| maxConcurrentDispatches | number |Expression<number> | ResetValue | The maximum number of requests that can be processed at a time. If left unspecified, will default to 1000. |
| maxDispatchesPerSecond | number |Expression<number> | ResetValue | The maximum number of requests that can be invoked per second. If left unspecified, will default to 500. |
tasks.RateLimits.maxConcurrentDispatches
The maximum number of requests that can be processed at a time. If left unspecified, will default to 1000.
Signature:
maxConcurrentDispatches?:number|Expression<number>|ResetValue;tasks.RateLimits.maxDispatchesPerSecond
The maximum number of requests that can be invoked per second. If left unspecified, will default to 500.
Signature:
maxDispatchesPerSecond?:number|Expression<number>|ResetValue;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-24 UTC.