Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
HelloGrayson committed Sep 4, 2015
1 parent 9dbb569 commit d942897
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.rst
Expand Up @@ -2,6 +2,12 @@ Changes by Version
==================


0.16.2 (unreleased)
-------------------

- Fix `retry_limit` in `TChannel.call` not allowing 0 retries.


0.16.1 (2015-08-27)
-------------------

Expand Down
4 changes: 3 additions & 1 deletion tchannel/tornado/peer.py
Expand Up @@ -526,7 +526,9 @@ def send(
maybe_stream(arg1), maybe_stream(arg2), maybe_stream(arg3)
)

retry_limit = retry_limit or DEFAULT_RETRY_LIMIT
if retry_limit is None:
retry_limit = DEFAULT_RETRY_LIMIT

ttl = ttl or DEFAULT_TIMEOUT
# hack to get endpoint from arg_1 for trace name
arg1.close()
Expand Down

0 comments on commit d942897

Please sign in to comment.