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
reach2paulreach2paul 

Is it possible to overcome the concurrency limitation using @future annotation?

Hi, There is a code that calls an external webservice but recently had issues (Concurrency limitation exceeded) when multiple users calling the webservice at the sametime. The method that makes the callout is not annotated as @future. Is it possible to bypass the concurrency limitation by annotating the callout method as @future.

 

Thanks,

Prashanth

ryanjuptonryanjupton

It might but keep in mind there are limits on concurrent calls (calls taking longer than 20 seconds) and total callouts per day. Check here for more http://bit.ly/omrJEw