Skip to content

Commit

Permalink
Update conn.go
Browse files Browse the repository at this point in the history
update comment
  • Loading branch information
collinmsn committed Mar 25, 2015
1 parent e4dcc21 commit f67a7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (p PoolConn) Close() error {
return p.c.put(p.Conn)
}

// MarkUnreusable() marks the connection is not reusable.
// MarkUnusable() marks the connection not usable any more, to let the pool close it instead of returning it to pool.
func (p *PoolConn) MarkUnusable() {
p.unusable = true
}
Expand Down

0 comments on commit f67a7ba

Please sign in to comment.