You need to sign in to do that
Don't have an account?
NuDev
Remoting - auto-timeout after 30 seconds?
Hi peoples, after a good deal of research it appears that a call in to an Apex method will be aborted after 30 seconds. I'm not seeing any mention of this within the Salesforce documentation. Has anyone else seen this behavior and, if so, did you find any way around it?
What kind of method is this Apex Method?
Simple dml operation,page reference or a web service method?
It's a 'RemoteAction' method ;)
The javascript executes the RemoteAction method, which compiles data and then calls a second method within the class which performs a callout to an external web service. The callout response is then processed and ultimately displayed on the VF page.
There isn't a way around it. If you think a greater timeout value makes more sense (I think Apex callouts max out at 120 secs and standard Visualforce pages around the same), please submit an idea to the Ideas Exchange and/or raise the issue with your support rep.
I've created an idea for custom timeouts for javascript remoting calls. Please vote for it here: https://sites.secure.force.com/success/ideaView?id=08730000000gLukAAE