mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
Fix some misspells in comment (#2634)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
|||||||
// TickTime is clock resolution. By default ticks every second. Handler checks if reloadInterval has been reached on every tick.
|
// TickTime is clock resolution. By default ticks every second. Handler checks if reloadInterval has been reached on every tick.
|
||||||
var TickTime = 1 * time.Second
|
var TickTime = 1 * time.Second
|
||||||
|
|
||||||
// Reload reloads a zone when it is changed on disk. If z.NoRoload is true, no reloading will be done.
|
// Reload reloads a zone when it is changed on disk. If z.NoReload is true, no reloading will be done.
|
||||||
func (z *Zone) Reload() error {
|
func (z *Zone) Reload() error {
|
||||||
if z.ReloadInterval == 0 {
|
if z.ReloadInterval == 0 {
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ There are four load-balancing policies available:
|
|||||||
|
|
||||||
|
|
||||||
All polices implement randomly spraying packets to backend hosts when *no healthy* hosts are
|
All polices implement randomly spraying packets to backend hosts when *no healthy* hosts are
|
||||||
available. This is to preeempt the case where the healthchecking (as a mechanism) fails.
|
available. This is to preempt the case where the healthchecking (as a mechanism) fails.
|
||||||
|
|
||||||
## Upstream Protocols
|
## Upstream Protocols
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user