code: func (l *leaseManager) getReuseDurationSecondsLocked(ttl int64) int64 {
  	reuseDurationSeconds := int64(l.leaseReuseDurationPercent * float64(ttl))
  	if reuseDurationSeconds > l.leaseReuseDurationSeconds {
  		reuseDurationSeconds = l.leaseReuseDurationSeconds
  	}
  	return reuseDurationSeconds
  }
docs: // getReuseDurationSecondsLocked returns the reusable duration in seconds
  // based on the configuration. Lock has to be acquired before calling this
  // function.