Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtpengine: fix queried_nodes_limit logic
Right now, even if the selected node returns error, the same node is still selected and still queried for maximum of queried_nodes_limit times. Don't retry to query the previous nodes, upon error returned (i.e. Parallel session limit reached"). Instead, remember the queried nodes and try to select between un-queried ones. Thus, rtpengine_offer() will select a proper, available node which will be inserted in the hashtable and further used.
- Loading branch information
Stefan Mititelu
committed
Feb 23, 2016
1 parent
b531e17
commit 131d899
Showing
1 changed file
with
47 additions
and
14 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