Merge lp:~cmiller/desktopcouch/sleep-and-retry-on-socket-error into lp:desktopcouch
Proposed by
Chad Miller
Status: | Merged |
---|---|
Approved by: | Rodrigo Moya |
Approved revision: | 155 |
Merged at revision: | 158 |
Proposed branch: | lp:~cmiller/desktopcouch/sleep-and-retry-on-socket-error |
Merge into: | lp:desktopcouch |
Diff against target: |
28 lines (+7/-0) 1 file modified
desktopcouch/records/server_base.py (+7/-0) |
To merge this branch: | bzr merge lp:~cmiller/desktopcouch/sleep-and-retry-on-socket-error |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rodrigo Moya (community) | Approve | ||
Guillermo Gonzalez | Needs Information | ||
Tim Cole (community) | Approve | ||
Review via email: mp+24245@code.launchpad.net |
Commit message
Try to avoid a bug I can not reproduce, which may be related to suspend in some way. On a socket error when trying to talk to couchdb, reconnect, which may spawn a new couchdb if one is not running (for reasons that are unknown to Chad). (LP: #522538)
To post a comment you must log in.
Some sort of backoff on retry would be good, particularly if we're not only connecting to localhost with this code (in which case e.g. there may be actual network issues).