Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Use Markdown for this comment
Set severity, which reflects how much the issue affects the use of the product
Assign issue to yourself
Pending code changes (auto-populated)
[ID: 82937]
Primary programming language affected, if applicable [ID: 82936]
[ID: 82935]
[ID: 82940]
[ID: 82941]
Set the version(s) of the product affected by this issue (comma-separated list)
Set the version(s) of the product in which the issue should be fixed (comma-separated list)
Set the version(s) of the product in which the issue fix was verified (comma-separated list)
Set if this issue occurs in production
Set Reporter
Set Type
Set priority, which reflects how soon the issue should be fixed
Set Status
Set Assignee
Set Verifier
Remove item
View or edit staffing
View issue level access limits(Press Alt + Right arrow for more information)
Description
Problem you have encountered:
I have encountered an issue regarding Cloud Tasks quota (List requests) [1] when using the following method "ListTasks" with the parameter "page_size:1", since it exceeds the Cloud Tasks quota, which is capped at 600 request per minute.
The "page_size:1" creates an iterator with all the Cloud Tasks available and in case you have a huge amount of Cloud Tasks, calling the method can result in the quota being exceeded.
What you expected to happen:
Add a note or a warning on the following Cloud Tasks SDK documentation [2] [3] where it warns you to not use page_size if you have a huge amount of Cloud Tasks created, since it will exhaust the Cloud Tasks List request quota.
Steps to reproduce:
- Create around 400-500 Cloud Tasks or lower.
- Run the ListTasks method with page_size=1 3 or 4 times.
- Since the page_size iters between all the created Cloud Tasks, the result is that the quota is exceeded since the Cloud Tasks ListTasks method is called N times, being N the number of Cloud Tasks created.
Other information (workarounds you have tried, documentation consulted, etc):
[1]:
[2]:
[3]: