Cloud Code for Data in Telerik Platform is a subject to several restrictions that come to prevent erroneous code from monopolizing system resources. You need to be aware of these restrictions when writing and executing Cloud Code for Data.
- Maximum execution time—The maximum execution time is 10 seconds. Code execution is aborted if it does not complete within this period and a timeout error is returned to the client. 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. Conforming Cloud Code for other content types and Cloud Functions will continue to operate.