0

I've launched an apex batch but each processed batch is too slow. Looking at the duration of each execute method, I see that the duration is around 2.668 ms but the next execute method is processed after one minute.  Where could be the problem? I usually launch this batch every week and I never faced this issue.

Thanks in advance

4

As explained here, Salesforce provides no SLA for asynchronous processing. Your org runs on a multi-tenanted server, so it is likely that the server is experiencing a larger than normal load due to the other tenants and/or due to more users performing synchronous activities. You may also have added more future method invocations (or similar) to your code base that might be saturating your async queue.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.