Don't log that cruft
This commit is contained in:
		| @@ -1,7 +1,6 @@ | ||||
| package client | ||||
|  | ||||
| import ( | ||||
| 	"fmt" | ||||
| 	"sync" | ||||
| 	"time" | ||||
|  | ||||
| @@ -55,14 +54,11 @@ func (p *pool) getConn(addr string, tr transport.Transport, opts ...transport.Di | ||||
| 		// we got a good conn, lets unlock and return it | ||||
| 		p.Unlock() | ||||
|  | ||||
| 		fmt.Println("old conn") | ||||
| 		return conn, nil | ||||
| 	} | ||||
|  | ||||
| 	p.Unlock() | ||||
|  | ||||
| 	fmt.Println("new conn") | ||||
|  | ||||
| 	// create new conn | ||||
| 	c, err := tr.Dial(addr, opts...) | ||||
| 	if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user