Hey Mauro,
There is no building mechanism to do that but it's quite easy to do that
with plain ruby:
requests.each {|req| req.run; sleep 2 }
Does that help?
--
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 typhoeus+u...@googlegroups.com.
To post to this group, send email to typh...@googlegroups.com.
Visit this group at http://groups.google.com/group/typhoeus.
For more options, visit https://groups.google.com/groups/opt_out.
If you are only allowed to do one request every 2seconds you cannot do
parallel requests, or am I wrong? Running two requests in parallel is
almost the same as starting two threads and run a request in each of them.
Which would also exceed the limit.
But you can use Typhoeus nevertheless. Typhoeus keeps the connection open
even for single requests which goes a long way if you request the same
server over and over again.