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:
export interface RateLimits
Properties
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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-24 UTC.
[null,null,["Last updated 2023-04-24 UTC."],[],[],null,["How congestion control should be applied to the function.\n\n**Signature:** \n\n export interface RateLimits \n\nProperties\n\ntasks.RateLimits.maxConcurrentDispatches\n\nThe maximum number of requests that can be processed at a time. If left unspecified, will default to 1000.\n\n**Signature:** \n\n maxConcurrentDispatches?: number | Expression\u003cnumber\u003e | ResetValue;\n\ntasks.RateLimits.maxDispatchesPerSecond\n\nThe maximum number of requests that can be invoked per second. If left unspecified, will default to 500.\n\n**Signature:** \n\n maxDispatchesPerSecond?: number | Expression\u003cnumber\u003e | ResetValue;"]]