You need to sign in to do that
Don't have an account?
Daniel Retaleato
How to avoid Spike Arrest Limits when making API calls from APEX
I'm running into a problem where my APEX code is firing too many API calls in the span of 100ms, so simply, is there a way to delay the code from firing for 101ms.
As I understand there may be a few 'Bad Code' workarounds such as home brew sleep methods and running for loops until certain conditions have been met, but I would rather avoid these for obvoius reasons.
Thanks for any advice!
As I understand there may be a few 'Bad Code' workarounds such as home brew sleep methods and running for loops until certain conditions have been met, but I would rather avoid these for obvoius reasons.
Thanks for any advice!
Try the suggestions as mentioned in the below blogs,
https://help.sharpspring.com/hc/en-us/articles/115001067268-Understanding-Salesforce-Daily-API-Limits
https://support.geckoboard.com/hc/en-us/articles/216804218-I-ve-hit-my-Salesforce-API-request-limit
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks.
But I don't have any more suggestions Daniel.