Is there a way to adjust the timeout value for a SharePoint 2010 sandbox solution? I think it defaults to 30 seconds. I have a web part that occasionally runs a little longer than that. I really would prefer not to fall back to a farm solution if I can avoid it.
Finding the documentation on this was a little difficult, but I found it here. The relevant parts are these:
The following code can be used to adjust Per Request timeout:
You should be able to adjust the CPU Execution Time with something like the following:
You have to restart the Microsoft SharePoint Foundation Sandboxed Code Service for the changes to take effect.