Skip to content

Commit

Permalink
Correct javadoc for PowerOfTwoStrategy. (#380)
Browse files Browse the repository at this point in the history
* Correct javadoc for PowerOfTwoStrategy.
  • Loading branch information
dvlato authored Mar 7, 2019
1 parent 717fe4c commit ee884cf
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@


/**
* A load balancing strategy that sorts origins according to three functions:
* <p>
* Whether they have below or above average 5xx errors.
* The number of busy connections.
* Whether they having existing connections available.
* A load balancing strategy that selects two hosts randomly and chooses the one with fewer ongoing connections.
*
*/
public class PowerOfTwoStrategy implements LoadBalancer {
private final ActiveOrigins activeOrigins;
Expand Down

0 comments on commit ee884cf

Please sign in to comment.