Skip to content

Commit

Permalink
Correct heartbeat documentation to reflect the code
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Feb 17, 2016
1 parent 268136f commit c40f2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DOCUMENTATION.rst
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ The constructor takes many keyword arguments that will affect its behavior.
* ``vhost`` Default "/".
* ``connect_timeout`` Default 5 seconds. Time before socket connection fails.
* ``sock_opts`` Default None. Recommend at least ``{(socket.IPPROTO_TCP, socket.TCP_NODELAY) : 1}``
* ``heartbeat`` Default None (disabled). If 0, broker assigned. If >0, negotiated with broker.
* ``heartbeat`` Default None (broker assigned). If ``heartbeat == 0``, disables heartbeats. If ``heartbeat > 0``, negotiated with broker.
* ``open_cb`` Default None. A no-arg method to be called after connection fully negotiated and pending frames written.
* ``close_cb`` Default None. A no-arg method to be called when connection closes due to protocol handshake or transport closure.
* ``login_method`` Defaults to "AMQPLAIN".
Expand Down

0 comments on commit c40f2ae

Please sign in to comment.