Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow multiple connections via
.startLocalProxy
socket (#366)
The .startLocalProxy method of starting a local Unix socket to connect over used .once which was an oversight. This only allows a single connection via the socket. For a connection pool to leverage several connections at once we should use .on. Tested using Prisma's connection_limit query argument. Using .once only works with connection_limit=1 while using .on allows for connection_limit=2 etc.
- Loading branch information