-
-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust preferred_hosts implementation
Use 0 as the reported ping time for hosts in preferred_hosts, since the previously used value of 1 is not guaranteed to be lower than hosts that respond extremely quickly. 0 was previously used to indicate no entry in the cache, so switch to using the empty string for that. Closes: #351 (cherry picked from commit ed1bda2)
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 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