sleep when polling for duration
@@ -674,6 +674,7 @@ func (k *Kuberhealthy) fetchPodByIPForDuration(remoteIP string, d time.Duration)
p, err := k.fetchPodByIP(remoteIP)
if err != nil {
log.Warningln("was unable to find calling pod with remote IP", remoteIP, "while watching for duration")
+ time.Sleep(time.Millisecond * 330)
continue
}
