Hi! This lib is leaking Snowflake Connection instances due to a cleanup code error here. In that code, we call connection.end() when, in reality, the method defined by the Snowflake SDK is connection.destroy (defined here).
This leads to never cleaning up the keepalive interval SF connections create by default, which, in turn, keeps all Connection instances around even when they were already removed from the pool managed by Knex. I've created a pull request to fix this.
Hi! This lib is leaking Snowflake Connection instances due to a cleanup code error here. In that code, we call
connection.end()
when, in reality, the method defined by the Snowflake SDK isconnection.destroy
(defined here).This leads to never cleaning up the keepalive interval SF connections create by default, which, in turn, keeps all Connection instances around even when they were already removed from the pool managed by Knex. I've created a pull request to fix this.