I've added this to the comments at MH-7555:

We can add a new method with a timeout, defaulting to infinite if none is
specified. So the current clients of this API need not change, but the
Capture Agent can make use of the new method if it helps.

HttpResponse execute(HttpUriRequest httpUriRequest, long timeout, TimeUnit
timeUnit)

What do you think?

Josh

On Tue, Apr 5, 2011 at 3:23 PM, Christopher Brooks <[email protected]>wrote:

> Hey Josh et all,
>
> In dealing with a fairly obscure bug in the capture agent,
> http://opencast.jira.com/browse/MH-7543 , we're eyeballing the
> DefaultHttpClient connection timeout of infinite.  If for whatever
> reason this client never returns, it could starve the caller.  I'd
> love to get some comments on whether it would be reasonable to add a
> connection timeout and, if so, what a good value would be.
>
> The specific ticket for this hypothesis is at
> http://opencast.jira.com/browse/MH-7555
>
> Regards,
>
> Chris
>
> --
> Christopher Brooks, BSc, MSc
> ARIES Laboratory, University of Saskatchewan
>
> Web: http://www.cs.usask.ca/~cab938
> Phone: 1.306.966.1442
> Mail: Advanced Research in Intelligent Educational Systems Laboratory
>     Department of Computer Science
>     University of Saskatchewan
>     176 Thorvaldson Building
>     110 Science Place
>     Saskatoon, SK
>     S7N 5C9
>
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to