0

my query is timing out, I got info from the documentation that max timeout can be 120 sec and min is 10 second. How to check and set the new timeout limit?

3
  • 2
    req.setTimeout(120*1000);
    – kurunve
    Mar 23 '21 at 15:17
  • Do we have any setting page to set this or only from code we can set the value?
    – San
    Mar 23 '21 at 15:55
  • This is only from code, and only for certain request. Be aware that 120seconds is a total callout duration for all callouts in the execution context
    – kurunve
    Mar 24 '21 at 7:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.