Ben Hood 11 лет назад
Родитель
Сommit
4474ab668a
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      connectionpool.go

+ 3 - 0
connectionpool.go

@@ -342,6 +342,9 @@ func (c *SimplePool) Close() {
 }
 
 func (c *SimplePool) SetHosts(hosts []HostInfo) {
+
+	fmt.Printf("Setting hosts: %+v\n", hosts)
+
 	c.hostMu.Lock()
 	toRemove := make(map[string]struct{})
 	for k := range c.hosts {