Reuse database connections through a pool instead of opening a new connection per request.
Why This Matters
Opening a connection per request exhausts server connection limits and adds handshake latency under load.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.