mirror of
https://github.com/neondatabase/neon.git
synced 2026-08-19 20:48:30 +00:00
dbf88cf2d7
Cache up to 20 connections per endpoint. Once all pooled connections are used current implementation can open an extra connection, so the maximum number of simultaneous connections is not enforced. There are more things to do here, especially with background clean-up of closed connections, and checks for transaction state. But current implementation allows to check for smaller coonection latencies that this cache should bring.