• Tad Glines's avatar
    database/sql: add SetMaxOpenConns · 41c5d8d8
    Tad Glines authored
    Update #4805
    
    Add the ability to set an open connection limit.
    Fixed case where the Conn finalCloser was being called with db.mu locked.
    Added separate benchmarks for each path for Exec and Query.
    Replaced slice based idle pool with list based idle pool.
    
    R=bradfitz
    CC=golang-dev
    https://golang.org/cl/10726044
    41c5d8d8
sql.go 42 KB