brianc / node-pg-pool

A connection pool for node-postgres
MIT License
180 stars 64 forks source link

Only count processes that are connected to a database #98

Closed tomhughes closed 6 years ago

tomhughes commented 6 years ago

Postgres 10 has a number of background processes that show up in pg_stat_activity so we need to ignore those.

charmander commented 6 years ago

87

tomhughes commented 6 years ago

Ah I missed that somehow when I was looking to see if there was already an issue/pull open for this.

brianc commented 6 years ago

closing as I (finally) merged #87