No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Most probably ->now_update clears the internal 'cache' entirely, so the persistence is swapped away.
There is no *timer* timeout because in the example code the timeout is set to 300 seconds - a long time after every action is over. There are however *connection* timeouts - most probably the server closes connections that are idle for seconds, and you are keeping them idle by sleeping 5 seconds between the calls. That's what's happening, in sequence: 1) successful GET; try to keep connection alive 2) enter sleep 3) server closes connection 4) get awake and try a GET; failure. Clear connection cache 5) sleep 6) go to 1) Krambambuli --- In reply to Re^3: AnyEvent timers by EV
by Krambambuli
|
|