Update example-dnscrypt-proxy.toml (#1489)

* Update lb_strategy usage

* Update example-dnscrypt-proxy.toml
This commit is contained in:
lifenjoiner 2020-10-21 20:21:39 +08:00 committed by GitHub
parent 6ee164a3c9
commit 078f69357e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -133,12 +133,15 @@ keepalive = 30
# blocked_query_response = 'refused' # blocked_query_response = 'refused'
## Load-balancing strategy: 'p2' (default), 'ph', 'first' or 'random' ## Load-balancing strategy: 'p2' (default), 'ph', 'p<n>', 'first' or 'random'
## Randomly choose 1 of the fastest 2, half, n, 1 or all live servers by latency.
## The response quality still depends on the server itself.
# lb_strategy = 'p2' # lb_strategy = 'p2'
## Set to `true` to constantly try to estimate the latency of all the resolvers ## Set to `true` to constantly try to estimate the latency of all the resolvers
## and adjust the load-balancing parameters accordingly, or to `false` to disable. ## and adjust the load-balancing parameters accordingly, or to `false` to disable.
## Default is `true` that makes 'p2' `lb_strategy` work well.
# lb_estimator = true # lb_estimator = true