PROTON-1549: Document legal values for the reconnect parameter
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1eb8a7ba Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1eb8a7ba Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1eb8a7ba Branch: refs/heads/master Commit: 1eb8a7ba4bd58a1d1a73e5c6f2ce56c11409b4df Parents: e4b5a4f Author: Justin Ross <jr...@apache.org> Authored: Fri Dec 8 09:41:50 2017 -0800 Committer: Justin Ross <jr...@apache.org> Committed: Fri Dec 8 09:41:50 2017 -0800 ---------------------------------------------------------------------- proton-c/bindings/python/proton/reactor.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1eb8a7ba/proton-c/bindings/python/proton/reactor.py ---------------------------------------------------------------------- diff --git a/proton-c/bindings/python/proton/reactor.py b/proton-c/bindings/python/proton/reactor.py index c210a8f..58045e9 100644 --- a/proton-c/bindings/python/proton/reactor.py +++ b/proton-c/bindings/python/proton/reactor.py @@ -698,9 +698,11 @@ class Container(Reactor): Only one of url or urls should be specified. - @param reconnect: A value of False will prevent the library - form automatically trying to reconnect if the underlying - socket is disconnected before the connection has been closed. + @param reconnect: Reconnect is enabled by default. You can + pass in an instance of Backoff to control reconnect behavior. + A value of False will prevent the library from automatically + trying to reconnect if the underlying socket is disconnected + before the connection has been closed. @param heartbeat: A value in milliseconds indicating the desired frequency of heartbeats used to test the underlying --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org