Merge lp://staging/~ralsina/tanuki-agent/agent-retries into lp://staging/tanuki-agent

Proposed by Roberto Alsina
Status: Merged
Approved by: Roberto Alsina
Approved revision: 95
Merged at revision: 94
Proposed branch: lp://staging/~ralsina/tanuki-agent/agent-retries
Merge into: lp://staging/tanuki-agent
Diff against target: 20 lines (+9/-1)
1 file modified
agent.py (+9/-1)
To merge this branch: bzr merge lp://staging/~ralsina/tanuki-agent/agent-retries
Reviewer Review Type Date Requested Status
Celso Providelo (community) Approve
Review via email: mp+273732@code.staging.launchpad.net

Commit message

Retry 3 times quickly to mitigate BadStatusLine

Description of the change

Retry 3 times quickly to mitigate BadStatusLine

To post a comment you must log in.
Revision history for this message
Celso Providelo (cprov) wrote :

Roberto,

Shouldn't we catch requests.exceptions.ConnectionError only in the loop ? and let the rest raise normally ?

review: Needs Information
95. By Roberto Alsina

Only retry on connection errors

Revision history for this message
Celso Providelo (cprov) wrote :

Thanks ROberto!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: