Hi All
Is there a best practice for the length of time a workflow should be considered owned I do know that it's the length of time that a non-idle workflow should be locked to a particular workflow runtime instance. If my workflow has very short periods of activity followed by very long idle periods (up to several days / weeks), should I set the ownership duration to the maximum length of one of these periods of activity (which would be around 10 seconds), or some longer time
It's interesting browsing example code online, because some examples show the ownership duration as long (TimeSpan.MaxValue) and others short (5 minutes). In my own application, I've been setting the duration to 1 hour - with the only rational being that this was the duration that Mike Taulty set in his nugget video on persistence!!
I think I'd like to have a stronger reason than that for selecting the time. It's not that there's any problem with the application as is...
Regards
Nigel