0

I have created a Apex Rest class, which is publicly exposed.

I wanted to test cpu time limit for inbound call and found that it is 16 -20 sec.

Is there any way by which I can increase cpu time limit for inbound call.

1
  • 3
    I think the real question here is, what is your code doing that makes it consume so much CPU time? (and can your code be improved?)
    – Derek F
    Sep 28, 2017 at 13:00

1 Answer 1

0

Yes, There are 2 ways to achive this.

  1. Inbuilt Salesforce: Use heavy for loops and iterative oprations that CPU would reach peak limit.
  2. Use a Rest Endpoint, make callouts to that endpoint frequently till the time you wanna test the scalability of your rest endpoint. The endpoint can be any, you can use request bin to test. https://requestb.in/
2
  • I have already tested as I mentioned in question. sorry if my question failed to provide correct information. I need to know how to increase inbound call limit :) Sep 28, 2017 at 11:19
  • No you cannt buddy. :) Governer limits are in place so that we dont over utilize more than whats shared with you Sep 28, 2017 at 11:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .