The default timeout for Mechanize is supposed to be about 3 minutes
WWW::Mechanize inherits the timeout from LWP::UserAgent. The default timeout in LWP::UserAgent is precisely 3 minutes. However, that's just the default. You could always include the value of $ua->timeout in your log message.
Moreover, the docs for the timeout method say:
The request is aborted if no activity on the connection to the server is observed for timeout seconds. This means that the time it takes for the complete transaction and the "request" in LWP::UserAgent method to actually return might be longer.
So if the server (or client) is heavily throttled this could easily extend into hours. If you want an absolute wall-clock cut-off then you will need to implement that yourself.
🦛
In reply to Re: WWW::Mechanize timeout problem
by hippo
in thread WWW::Mechanize timeout problem
by Marshall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |