mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Plugin/RELOAD - Tune usage of var global, add limit to options (#1457)
* tune usage of var global, add limit to options * update readme for minimal values * useless change to quick-off codecov * fix msgs for min values and tune the flag for end of reload usage, with a 'maybe' option * adding UT for min values, adding MD5 of corefile on the log
This commit is contained in:
committed by
John Belamaric
parent
3fb07161b7
commit
2440024772
@@ -35,6 +35,7 @@ reload [INTERVAL] [JITTER]
|
||||
* The plugin will check for changes every **INTERVAL**, subject to +/- the **JITTER** duration
|
||||
* **INTERVAL** and **JITTER** are Golang (durations)[https://golang.org/pkg/time/#ParseDuration]
|
||||
* Default **INTERVAL** is 30s, default **JITTER** is 15s
|
||||
* Minimal value for **INTERVAL** is 2s, and for **JITTER** is 1s
|
||||
* If **JITTER** is more than half of **INTERVAL**, it will be set to half of **INTERVAL**
|
||||
|
||||
## Examples
|
||||
|
||||
Reference in New Issue
Block a user