I am currently developing with GAS. And the limit of the number of executions became a problem. My account is Google Workspace.
What if the total number of executions by the trigger exceeds the limit? And can't we increase that limit?
And what it mean "simultaneous executions"? Does that mean that the same script will be called at the same time? I couldn't understand it by looking at the documentation.
CodePudding user response:
The quotas are here. To my knowledge, you cannot go beyond these quotas using Apps Script.
Simultaneouse executions is maybe best explained as an example. Imagine you have a function which takes 30 seconds to run. This function could run 30 times within the same time frame but not 31. If you try to execute it a 31st time, even though 30 functions are still running / have not finished, then your 31st execution will throw an error. I have an API which handles document generation and this takes quite some time, therefore I add a delay in between calls in order for some executions to be finished.