change the default timeout to some reasonable value

Bug #321092 reported by Markus Korn on 2009-01-25
Affects Status Importance Assigned to Milestone

Bug Description

Currently the default timeout for http actions in launchpadlib is None, which means that a request made by launchpadlib will never time out. Over this weekend was down and "None" as timeout caused my scripts waiting for a response for ever. I think this show that changing the default timeout to some reasonable value might make sense.


Francis J. Lacoste (flacoste) wrote :

When launchpad is up, the server-side has a default timeout for request.

If Launchpad was down, it's weird that your script hanged. It should have failed with a Connection error.

Anyhow, I think it's sane to put such a default time out.

Changed in launchpadlib:
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers