Cloud Functions in Telerik Platform are a subject to several restrictions that come to prevent erroneous code from monopolizing system resources. You need to be aware of them when writing and executing Cloud Functions.
- Maximum execution time—The maximum execution time is 10 seconds. The code execution is aborted if it does not complete within this period. When designing your code, ensure that it can complete in a timely manner.
- Maximum timeouts—Your code will be disabled if it times out (exceeds the "Maximum execution time") frequently. Frequent timeouts are typically caused by erroneous logic in your code.
- Maximum number of timeouts—In case your code times out 100 times within 30 minutes it will be disabled permanently.