Skip to main content

What it flags

A TypeORM createQueryRunner() is not released in finally, so an early return or failed transaction keeps the pooled connection.

How to review or fix

Confirm no caller releases it, then call release() in finally.

Configuration

Set the rule to "off" in loadwise.config.json to drop its findings: