Descriptionstate: fix i/o timeout errors
Since mongo has been fixed to time out sockets,
(in revision 241 of mgo)
the state package was failing quite a lot.
This should make it more robust.
In particular, we use the Timeout field on
mgo.DialInfo to signify the amount of time
we are prepared to wait before connection,
not the amount of time to wait for a response,
so this change makes the latter independent
of the former.
https://code.launchpad.net/~rogpeppe/juju-core/499-state-fix-timeout/+merge/205416
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
Patch Set 2 : state: fix i/o timeout errors #
MessagesTotal messages: 4
|