From e33fb9d5d8425f3a5f1039dac437f5ee146fc317 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 12 Jul 2014 20:12:56 -0500 Subject: [PATCH] Remove ConnPool functions overlapped by Stat --- conn_pool.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/conn_pool.go b/conn_pool.go index 96119fad..16775bb0 100644 --- a/conn_pool.go +++ b/conn_pool.go @@ -143,14 +143,6 @@ func (p *ConnPool) Stat() (s ConnPoolStat) { return } -func (p *ConnPool) MaxConnectionCount() int { - return p.maxConnections -} - -func (p *ConnPool) CurrentConnectionCount() int { - return p.maxConnections -} - func (p *ConnPool) createConnection() (c *Conn, err error) { c, err = Connect(p.config) if err != nil {