Merge lp:~cmiller/desktopcouch/find-port-runtimeerror into lp:desktopcouch
Proposed by
Chad Miller
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Tim Cole | ||||
Approved revision: | no longer in the revision history of the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~cmiller/desktopcouch/find-port-runtimeerror | ||||
Merge into: | lp:desktopcouch | ||||
Diff against target: |
83 lines (+21/-21) 2 files modified
desktopcouch/__init__.py (+11/-10) desktopcouch/start_local_couchdb.py (+10/-11) |
||||
To merge this branch: | bzr merge lp:~cmiller/desktopcouch/find-port-runtimeerror | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Langridge (community) | Approve | ||
Eric Casteleijn (community) | Approve | ||
Review via email: mp+15109@code.launchpad.net |
Commit message
There is a period between when couchdb has written its PID file and when it is really listening on a socket for connections. Our code assumes that writing its PID file is a signal that it's ready to work, but it is not. Now, we loop on looking for the socket, instead of interpreting missing as an error.
To post a comment you must log in.
Looks good, tests pass.