I have some LINQ queries which are running against objects in memory. I think they're pretty optimized, but there is a large number of objects, and sometimes the query takes a long time to run. Sometimes it takes long enough to timeout.
(This code is running as part of an Azure worker role, and it seems to time out more frequently when running in the cloud rather than locally, if it makes any difference.)
I don't really care how long it takes to run, as long as it completes. Is there a way to change this timeout value?
I've seen similar questions on this topic, but they seem to be all about Linq-to-SQL, which (I think) is a different problem.