[英]Can you increase apps script execution time to 30 minutes by upgrading to G Suite Business?
I have a web app that runs a doGet request.我有一个运行 doGet 请求的网络应用程序。 After upgrading to G Suite Business, this still times out after 6 minutes.
升级到 G Suite 商务版后,这仍然会在 6 分钟后超时。
However if I run a standalone script, I can exceed execution time past 6 minutes.但是,如果我运行独立脚本,我的执行时间可能会超过 6 分钟。
The quotas page under Current limitations > Script runtime looks like I should now have access to 30 min executions.当前限制 > 脚本运行时下的配额页面看起来我现在应该可以访问 30 分钟的执行时间。
The app is executed as "Me" and "Anyone, even anonymous" has access to the app.该应用程序以“我”和“任何人,甚至匿名”的身份执行,都可以访问该应用程序。
The WebApp is being used as a trigger to update spreadsheets. WebApp 被用作更新电子表格的触发器。 Once the spreadsheets update, the script then updates my database.
一旦电子表格更新,脚本就会更新我的数据库。
Screenshot of Executions Timed Out:执行超时的屏幕截图:
Other notes: I have waited well over the 24 hour period for G Suite account to update, I am a paying customer, and G Suite Customer Service recommended I post here.其他说明:我在 24 小时内一直等待 G Suite 帐户更新,我是付费客户,G Suite 客户服务建议我在这里发帖。
Anyone have any insight on this?有没有人对此有任何见解? Thanks!!!
谢谢!!!
If the web-app is set to execute as如果网络应用程序设置为执行为
User accessing the web app
访问 Web 应用程序的用户
Then quotas applicable for the user(6 minutes) will apply and not the quota applicable for "Me"(30 minutes).然后适用于用户的配额(6 分钟)将适用,而不适用于“我”的配额(30 分钟)。
If it is set to Execute as "Me", Consider browser timeouts.如果设置为以“Me”身份执行,请考虑浏览器超时。 Most browser's timeout is set to 300 seconds.
大多数浏览器的超时设置为 300 秒。
Updates can take more than 24 hours to go through and you may have to wait until the end of your billing cycle for quota changes to take place.更新可能需要超过 24 小时才能完成,您可能需要等到计费周期结束才能进行配额更改。
As per the documentation on Quotas for Google Services:根据有关 Google 服务配额的文档:
Note: Newly created G Suite domains are subject to the consumer limit for the first billing cycle if they have six or more users, or several billing cycles if they have fewer users.
注意:如果新创建的 G Suite 域有六个或更多用户,则在第一个计费周期内受消费者限制;如果用户较少,则在多个计费周期内。 For more information, see the Help Center page on sending limits .
有关更多信息,请参阅有关发送限制的帮助中心页面。
Resultantly, you may have to wait longer than 24 hours.因此,您可能需要等待超过 24 小时。 I would suggest contacting G Suite support again with this information and ask them to clarify when this will be.
我建议再次联系 G Suite 支持并提供此信息,并要求他们澄清何时会这样做。
I hope this is helpful to you!我希望这对你有帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.