1 min readNov 12, 2019
Another way to run into deadlocks using Go’s sql.DB connection pool are transactions. If you start a transaction and run a query outside of it while the transaction is still open, you can hit the connection limit and bring the application to halt.