code: func (e *Etcd) TTL(node *etcdc.Node, serv *msg.Service) uint32 {
  	etcdTTL := uint32(node.TTL)
  
  	if etcdTTL == 0 && serv.TTL == 0 {
  		return ttl
  	}
  	if etcdTTL == 0 {
  		return serv.TTL
  	}
  	if serv.TTL == 0 {
  		return etcdTTL
  	}
  	if etcdTTL < serv.TTL {
  		return etcdTTL
  	}
  	return serv.TTL
  }
docs: // TTL returns the smaller of the etcd TTL and the service's
  // TTL. If neither of these are set (have a zero value), a default is used.