code: func (s *Subscription) ClearMaxPending() error {
  	if s == nil {
  		return ErrBadSubscription
  	}
  	s.mu.Lock()
  	defer s.mu.Unlock()
  	if s.conn == nil {
  		return ErrBadSubscription
  	}
  	if s.typ == ChanSubscription {
  		return ErrTypeSubscription
  	}
  	s.pMsgsMax, s.pBytesMax = 0, 0
  	return nil
  }
docs: // ClearMaxPending resets the maximums seen so far.