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:
Francois Tur
2018-02-02 13:15:56 -05:00
committed by John Belamaric
parent 3fb07161b7
commit 2440024772
4 changed files with 56 additions and 16 deletions

View File

@@ -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