function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vani s 24vani s 24 

How can we increase the web callout's time?

Hi,
How can we increase the callout time? 



Thanks
 
Khan AnasKhan Anas (Salesforce Developers) 
Hi Vani,

Greetings to you!

Unfortunately, it's not possible to increase the callouts time. According to Salesforce doc:

The maximum cumulative timeout for callouts by a single Apex transaction is 120 seconds. This time is additive across all callouts invoked by the Apex transaction.

Please refer to the below links which might help you further.

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_timeouts.htm

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_gov_limits.htm

https://salesforce.stackexchange.com/questions/246817/increase-the-callout-time-limit-from-120-seconds-to-more

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas