mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	plugin/pkg/up: make default intervals shorter (#3651)
* plugin/pkg/up: make default intervals shorter I think 15 min is too high, make this lower to react faster. Signed-off-by: Miek Gieben <miek@miek.nl> * Update README Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
		| @@ -79,8 +79,8 @@ func (p *Probe) Start(interval time.Duration) { | ||||
| 		InitialInterval:     interval, | ||||
| 		RandomizationFactor: backoff.DefaultRandomizationFactor, | ||||
| 		Multiplier:          backoff.DefaultMultiplier, | ||||
| 		MaxInterval:         backoff.DefaultMaxInterval, | ||||
| 		MaxElapsedTime:      backoff.DefaultMaxElapsedTime, | ||||
| 		MaxInterval:         15 * time.Second, | ||||
| 		MaxElapsedTime:      2 * time.Minute, | ||||
| 		Stop:                backoff.Stop, | ||||
| 		Clock:               backoff.SystemClock, | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user