in reply to LWP::UserAgent timeout
I use LWP::UserAgent::Determined to retry my API calls when they fail. The standard retry intervals for this module are 1, 3 and 15 seconds -- that wasn't enough for my situation, so I made mine 10, 20, 30, 60, 60, 60, 90, and 90 seconds. My preference is to "Get it done .. eventually." rather than "Get it done as quickly as possible." Your situation may be different.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: LWP::UserAgent timeout
by IB2017 (Pilgrim) on Dec 17, 2018 at 17:49 UTC |