Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct javadoc for PowerOfTwoStrategy. #380

Merged
merged 2 commits into from
Mar 7, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update components/client/src/main/java/com/hotels/styx/client/loadbal…
…ancing/strategies/PowerOfTwoStrategy.java

Co-Authored-By: dvlato <dvlato@gmail.com>
  • Loading branch information
mikkokar and dvlato committed Mar 7, 2019
commit d571169043eacd96a81123cdd1eb5105ba8bfd5a
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@


/**
* A load balancing strategy that selects two hosts randomly and then chooses the host (of those two) with the least ongoing connections.
* A load balancing strategy that selects two hosts randomly and chooses the one with fewer ongoing connections.
*
*/
public class PowerOfTwoStrategy implements LoadBalancer {
Expand Down