Restrictions of Cloud Code for Data

Restrictions of Cloud Code for Data

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. 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 definition time—The maximum time for executing the code's JavaScript definition. Before we execute the onRequest function we parse the entire JavaScript file that holds the Cloud Code. This must complete in 10 seconds otherwise execution is stopped.
  • 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.
Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.