code: func (pbm *PodBackoffMap) calculateBackoffDuration(nsPod ktypes.NamespacedName) time.Duration {
  	backoffDuration := pbm.initialDuration
  	if _, found := pbm.podAttempts[nsPod]; found {
  		for i := 1; i < pbm.podAttempts[nsPod]; i++ {
  			backoffDuration = backoffDuration * 2
  			if backoffDuration > pbm.maxDuration {
  				return pbm.maxDuration
  			}
  		}
  	}
  	return backoffDuration
  }
docs: // calculateBackoffDuration is a helper function for calculating the backoffDuration
  // based on the number of attempts the pod has made.