code: func (b *Timeout) Update(ok bool) {
  	if ok {
  		b.errs = 0
  		b.current = b.Resync
  		return
  	}
  
  	b.errs++
  	if b.errs == 1 {
  		b.current = b.InitialRetry
  		return
  	}
  
  	b.current *= 2
  	if b.current >= b.MaxBackoff {
  		b.current = b.MaxBackoff
  	}
  }
docs: // Update the timeout with the current error state.