Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Whenever either or both specify 0 value for heartbeat, pick 0 since i…
…t's the one that consumes the fewest resources and goes along with AMQP 0.9.1 negotiation rules regarding picking the value that reduces resource consumption. Update heartbeat negotiation tests for the new heartbeat negotiation logic that favors max heartbeat value.
- Loading branch information
Vitaly Kruglikov
committed
Feb 8, 2016
1 parent
d4dcecb
commit 781c548
Showing
2 changed files
with
102 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters