Check out the latest news from Firebase at Cloud Next 2025.
Learn more.
Send feedback
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 ;
Send feedback
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.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-24 UTC."],[],[]]