|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^9: How to make an HTTP request with an equivalent of curl's --max-time?by Cody Fendant (Hermit) |
| on Jan 14, 2015 at 22:24 UTC ( [id://1113273]=note: print w/replies, xml ) | Need Help?? |
|
Thanks for that explanation. Yes, it's true that I need both kinds of timeout. Currently I hold the connection open for 180 seconds which gives me 35-40 MB of tweets in a roughly 10,000-line file. If I wanted more, I'd increase that value. The other kind of timeout would presumably cause it to close down if the network or Twitter were having problems and I'd get nothing, but that's a different case.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||