func (cw *CertFileWatcher) PollIntervalOrDefault() time.Duration {
	if cw.pollInterval > 0 {
		return cw.pollInterval
	}
	return 500 * time.Millisecond
}
// PollIntervalOrDefault returns the polling interval or a default.
PollIntervalOrDefault returns the polling interval or a default.
// PollIntervalOrDefault returns the polling interval or a default .
func (cw *CertFileWatcher) PollIntervalOrDefault() time.Duration {
	if cw.pollInterval > 0 {
		return cw.pollInterval
	}
	return 500 * time.Millisecond
}
func ( cw * CertFileWatcher ) PollIntervalOrDefault ( ) time . Duration { if cw . pollInterval > 0 { return cw . pollInterval } return 500 * time . Millisecond }
PollIntervalOrDefault returns the polling interval or a default.
PollIntervalOrDefault returns the polling interval or a default .