func minInterval(lease time.Duration) time.Duration {
	if lease > 0 {
		return lease / 4
	}
	return 5 * time.Millisecond
}
// minInterval gets a minimal interval.
// It uses to reload schema and check schema validity after the schema is invalid.
// If lease is 0, it's used for local store and minimal interval is 5ms.
minInterval gets a minimal interval.
It uses to reload schema and check schema validity after the schema is invalid.
If lease is 0, it's used for local store and minimal interval is 5ms.
// minInterval gets a minimal interval . // It uses to reload schema and check schema validity after the schema is invalid . // If lease is 0 it ' s used for local store and minimal interval is 5ms .
func minInterval(lease time.Duration) time.Duration {
	if lease > 0 {
		return lease / 4
	}
	return 5 * time.Millisecond
}
func minInterval ( lease time . Duration ) time . Duration { if lease > 0 { return lease / 4 } return 5 * time . Millisecond }
minInterval gets a minimal interval.
minInterval gets a minimal interval .