Re: How to set a timeout for the Hydra?

Skip to first unread message

Hans Hasselberg

Feb 5, 2013, 7:45:57 AM2/5/13
I briefly looked into and I didn't found anything buildin.
So there is currently no way to do that. I'm also not sure that if it could be implemented in Typhoeus because of the way it interacts with liburl.


On Tuesday, February 5, 2013 at 1:37 PM, wrote:

> I have a simple class which uses Hydra to hit multiple URLs in parallel:
> I understand how to set a timeout on each individual request (which I'm doing in the above gist). Is it possible in addition to set an overall timeout for the Hydra?
> For example, let's say I queue 50 URLs in the Hydra and each one responds in 1s. Although the individual URLs are quick, in the worst case the whole lot could take 50s. Is it possible for me to stop wherever the Hydra has got to at, say, 20s?
> Thanks in advance,
> Andrew Stewart
> --
> You received this message because you are subscribed to the Google Groups "Typhoeus" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to (
> To post to this group, send email to (
> Visit this group at
> For more options, visit

Reply all
Reply to author
0 new messages