Parcourir la source

Added some debug statements

Ben Hood il y a 11 ans
Parent
commit
4474ab668a
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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 {