Comment 28 for bug 380504

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 380504] Re: Handle HTTP Error 502: Bad Gateway automatically

On Mon, 29 Mar 2010 22:56:18 -0000, Gary Poster <email address hidden> wrote:
> In regards to kees' patch to lazr.restfulclient, it seems reasonable to
> me, though it is certainly unfortunate we need it, and we should
> consider keeping a bug around for the situation(s) that causes this kind
> of code to be necessary.

Please fix all the bugs that we can find that do this, but having the
library retry is good, even if we fix all of the known bugs. It's just
sensible design given then the unreliability of communication across the
network.

> Thoughts:
> - I'd probably like to have the number of retries and the seconds
> between retries configurable.

Yes, but there a few layers to pull these options up through to still
allow people to easily get a Launchpad object.

> - Would incremental delays be of value?

What do you mean by this?

> - I'd like it if we logged the problem.

Yep.

Thanks,

James