Today i was debugging the CPU timeout error due to Flow execution and saw two type of CPU limits :-
- FLOW_ELEMENT_LIMIT_USAGE: This has statement "
|FLOW_ELEMENT_LIMIT_USAGE|2 ms CPU time, total 14465 out of 15000
" . What i can understand from this is maximum CPU limit is 15000 and till this branch transaction has consumed 14465 CPU time. - Then when the transaction ends All Governor limits and corresponding consumed units are shown, there again i can see
Maximum CPU time: 14687 out of 10000 ******* CLOSE TO LIMIT
. Here it says the CPU limit is 10000.
So now i am little confused about CPU Limit, can anyone please explain how this two are related and although both are CPU limit why both values are different?