How do Google Apps Script quotas work for doGet and doPost functions in web apps?

前端 未结 2 1937
别那么骄傲
别那么骄傲 2020-12-19 17:43

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

相关标签:
2条回答
  • 2020-12-19 18:17

    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.

    0 讨论(0)
  • 2020-12-19 18:35

    The following quotas(consumer edition) apply:

    • Script runtime 6min/execution
    • Trigger total runtime: 90min/day These seem to be excluded here
    • Simultaneous execution: 30

    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")

    0 讨论(0)
提交回复
热议问题