CPU Time Out
Salesforce.com introduced a new governor limit called CPU Timeout in winter 14, what exactly is CPU Time out and how its get calculated and whats get counted for CPU Timeout.
As per Salesforce.com documentation CPU Timeout is calculated for all executions on the Salesforce application servers occurring in one apex transaction - for executing apex code and all the process called from code such as workflows, validation rules, package code.
CPU Timeout is private for transaction and is isolated from other transactions.
CPU Timeout for Synchronous apex: 10,000 milliseconds
CPU Timeout for Asynchronous apex: 60,000 milliseconds
CPU Timeout Counted for:
1. Workflows
2. Validation Rule
3. Library functions exposed in apex code
CPU Timeout do not count for:
1. SOSL
2. SOQL
3. DML
4. Http callouts
CPU Timeout can be explained as Time taken by the apex transaction in a context including Apex code, Validation rules, Workflows excluding time taken in DML, SOSL, SOQL.
No comments:
Post a Comment