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
RajivRajiv 

Read time out error and Batch size limit

Hello Everyone,

In a batch can we delay the execution process between two records. Right now our batch size is 200 and we are processing around 5000 records, and since we are making callout to external system, we are getting 'Read time out error'. I have reduced the size of batch but i guess it will be a problem because in 24 hours we can submit upto 5000 batches. So what if records get increased then i am sure it will hit the batch limit. It will be really helful if anyone can help me on this.

Regards,
Rajiv Roy
ShashankShashank (Salesforce Developers) 
Please check if you find this helpful: https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AmUrIAK