Merge lp:~javier.collado/utah/bug1103448 into lp:utah
Status: | Merged |
---|---|
Approved by: | Javier Collado |
Approved revision: | 815 |
Merged at revision: | 813 |
Proposed branch: | lp:~javier.collado/utah/bug1103448 |
Merge into: | lp:utah |
Diff against target: |
207 lines (+96/-19) 4 files modified
utah/client/runner.py (+17/-2) utah/retry.py (+20/-3) utah/timeout.py (+38/-13) utah/url.py (+21/-1) |
To merge this branch: | bzr merge lp:~javier.collado/utah/bug1103448 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Max Brustkern (community) | Approve | ||
Joe Talbott | Pending | ||
UTAH Dev | Pending | ||
Review via email:
|
Description of the change
This branch implements a workaround for http errors like the ones described in
bug1103448.
The workaround is just retry the failed `bzr export` commands for one minute
every 3 seconds.
The values have been hardcoded, but they could be added to the configuration
file if needed. Anyway, given that the change affects both the client and the
server, I think this could be updated only on the server since the client would
always get the defaults from the configuration file in the package when
installed. Please let me know if there's some good way to share this
configuration data without adding a new command line option at the client.
Aside from this, I've spent some time improving the documentation for timeout
and retry since that has been helpful when implementing the workaround.
Looks good to me. I haven't tested it yet, but I can do that after I finish the other testing I'm doing.