Reputation: 5839
I've read https://developers.google.com/apps-script/guides/services/quotas and understand what the quotas are and how they work.
What I can't figure out is how the quotas apply to web apps, specifically with the doGet
and doPost
functions?
For example:
doGet
-- is Script runtime
the only quota that would apply?doGet
that pulls and displays data from a Sheet -- which quotas apply?doPost
-- then what?I understand the quotas are applied to the user how owns the web app. I just can't figure out which quotas apply for the web content side of things. Obviously Script runtime
applies but what else?
Upvotes: 5
Views: 1624
Reputation: 777
It looks like the runtime of scripts called via doGet and doPost does not affect the overall daily runtime limit. However, the execution time for these scripts is still 6 minutes, regardless of the type of Google account being used (consumer or workplace).
Upvotes: 0
Reputation: 50890
The following quotas(consumer edition) apply:
UrlFetch
quotas (like 50MB/Post size) may also apply to doPost()
.
Note however that these quotas typically don't apply to you, but to the user, if script is set to execute as "User accessing the webapp". Therefore, a single user can't simultaneously execute script 30 times in a short time(if published to execute as "User accessing the web-app")
Upvotes: 5
Reputation: 2974
From this SO post:
Google removed all limits on the quota of total data received by UrlFetch
per day per user. If you have a consumer Gmail account, you can make up to 20000 calls per day. You still have a restriction around the total time that your script can run per day. It is 90 minutes for consumer Gmail accounts.
You can check this documentation for more details.
Upvotes: 0