brianc / node-pg-pool

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

Minor cleanup - inline throwOnRelease() #129

Closed nyurik closed 4 years ago

nyurik commented 4 years ago

The throwOnRelease() function does not appear to be exposed anywhere, and it does not appear to make any sense to have it as a standalone func, as it ovecomplicates things and makes function call as non-returning. Inlined it.

charmander commented 4 years ago

Thanks!