Quotas and limits

This document lists the quotas and limits that apply to Cloud Tasks.

A quota restricts how much of a shared Google Cloud resource your Google Cloud project can use, including hardware, software, and network components. Therefore, quotas are a part of a system that does the following:

  • Monitors your use or consumption of Google Cloud products and services.
  • Restricts your consumption of those resources, for reasons that include ensuring fairness and reducing spikes in usage.
  • Maintains configurations that automatically enforce prescribed restrictions.
  • Provides a means to request or make changes to the quota.

In most cases, when a quota is exceeded, the system immediately blocks access to the relevant Google resource, and the task that you're trying to perform fails. In most cases, quotas apply to each Google Cloud project and are shared across all applications and IP addresses that use that Google Cloud project.

To increase or decrease most quotas, use the Google Cloud console. For more information, see Request a higher quota.

There are also limits on Cloud Tasks resources. These limits are unrelated to the quota system. Limits cannot be changed unless otherwise stated.

Resource Value Description
Maximum number of queues:

HTTP targets

1,000 queues The total number of queues that can exist in a project per region. Includes default queue.

Can be increased by selecting Edit Quotas from the Quotas page of the Google Cloud console.

Maximum number of queues:

App Engine targets

1,000 queues The total number of queues that can exist in a project. Queues that process tasks for App Engine targets must be in the same region as the App Engine app. This quota includes the default queue. Note: This is the quota for queues created via Cloud Tasks API methods. Any queues created using queue.yaml however, are based on the older Task Queues method. These queues continue to have an initial quota of 100.

Can be increased by selecting Edit Quotas from the Quotas page of the Google Cloud console.

API requests 6,000,000 requests per minute The total number of API requests that can be made per minute.

Can be increased by selecting Edit Quotas from the Quotas page of the Google Cloud console.

Queue dispatch rate 500 tasks dispatched per second per queue The maximum rate at which tasks can be dispatched from a queue. To dispatch at higher rates, use multiple queues.
Maximum task size 1 MB The maximum size of a task that can be added to a queue.
Force run task requests 60 requests per minute The total number of run task requests per minute. Note this API is intended for manual debugging and is unrelated to normal task execution.
List requests 600 requests per minute The total number of list tasks, list queues, and list locations requests per minute.
Task de-duplication window ~1 hour The time period during which adding a task with the same name as a recently deleted task will cause the service to reject it with an error. This is the length of time that task de-duplication remains in effect after a task is deleted.
Inactive queues Inactive after 30 days A queue is INACTIVE if no methods calls are made to the queue (from any API) and the queue has had no task dispatches for this period.
Max task retention 31 days The time between when a task is added to a queue and when it is automatically deleted.
Maximum schedule time for a task 30 days from current date and time The maximum amount of time in the future that a task can be scheduled.
Queue re-creation 7 days The time you must wait after deleting a queue to re-create a queue with the same name.

Quota increases

You can edit your quotas up to their maximum values by selecting Edit Quotas from the Quotas page of the Google Cloud console page. To request an increase above the maximum quota, edit your quota with your requested increase and justification and submit your update. You will be notified when your request has been received. You might be contacted for more information regarding your request. After your request has been reviewed, you will be notified whether it has been approved or denied.